I have this data:
{"items":[{"Code":"S-B-03","Quantity":"3pcs.","Desc":"Ballpen Black","Ucost":4.75},{"Code":"S-B-34","Quantity":"2pcs.","Desc":"Ballpen Black","Ucost":8.75}]}
I would like to remove the first data. I can access the first data using object.items[0]. I want to remove the first data.
I tried:
object.items[0].remove("Code");
object.items[0].remove("Quantity");
object.items[0].remove("Desc");
object.items[0].remove("Ucost");
But it is not working.