Closed draHL closed 3 years ago
ExtractObject removes the object from jarr, so by the time you get to index 2 the count is already down to 1.
If you want to remove the objects, loop from "Count - 1 downto 0" instead. If you just want to access the values, use "jobj := jarr[i]" and don't Free the jobj.
Hope that helps!
thx a lot it works. cheers
when try to access arraay of jsonObject error occurred "list index out of bound" here sample code. or i did it wrong ?