How do I save an array of integers to json object/array

Thanks, that’s most helpful.

I like the way you used a new IntList within a new JSONArray - that’s a neat trick.

new JSONArray(new IntList(intsArray));
1 Like