I have a JsonArray
and I am using the implementation as given in Java EE 7. How do I iterate thorugh this JsonArray
?
I have searched thorugh this site but have found only answer which relate to org.json.JSONArray
(like this Accessing members of items in a JSONArray with Java) which I cannot use as javax.json.JsonArray
does not have the length method.