How to pass an array to JSON string?
JSONStringer jsonStringer = new JSONStringer().object.key("key").value(value).key("key").array().value(arrayvalue).endArray().endObject
My problem is how can I pass arrayvalue here?
The value is:
"item1", "item2", "item3", "item4"..... "item100"
How can I do this?