How to convert Java Array/Collection to JSON array?
Answers
Answered by
0
sry i dont know these question
Answered by
2
Google provides a library named org.json.JSONArray.
The JSONArray class of the org.json package provides put( ) method.
Using this method, you can convert Java Arrays/Collections to JSON Array using the constructor of the class JSONArray.
Similar questions