how to create a list in easyJSON

Matt Maier blueback09 at gmail.com
Fri Dec 30 20:27:54 EST 2016


I'm trying to send a list of strings to an API. Best I can tell it's
interpreting the entire list as one string. Is there a way to send data to
easyJSON such that it returns a JSON  list of strings instead of one
monolithic string?

For example, I've got something like this:

array[one] = 12345,12345,12345
array[two] = 12345,12345

and what I get back from easyJSON is this:

{"one":"12345,12345,12345","two":"12345,12345"}

when what I'm trying to get is more like this

{"one":["12345","12345","12345"],"two":["12345","12345"]}



More information about the use-livecode mailing list