I am trying to get the value from a json where, i have located the value needed, but not able to get the first and last occurrence,
deserialize json = now from json object = for each item in jsonobject
item(“status”).toString - getting the value from status in jsonobject which is [inserted, replace]
if status contains inserted, then get the first occurrence and the last occurrence,
could somebody please help me here
Please refer the below post. It will help to give your issue. You can use index to get the required values
Please post the
JSON string itself & show us.
This way would be better to suggest solutions.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.