For example I have JSONArray of strings:
["hello", "dear", "community"]
and I want to get index of "dear". How would I do that?
I am iterating over an array and want to check is array element in my JSONArray and get its index.
For example I have JSONArray of strings:
["hello", "dear", "community"]
and I want to get index of "dear". How would I do that?
I am iterating over an array and want to check is array element in my JSONArray and get its index.