I am provided a json object that looks something like this:

{"pager_offset":50,"types":[1,2,4]}

If I feed that json object in to the jQuery $.get() function as the
data the request it makes is like this:

?pager_offset=50&types=1&types=2&types=4

Note that it really should be this in order for the server to be able
to handle it correctly
?pager_offset=50&types[]=1&types[]=2&types[]=4

Do I need to go and modify the json object before feeding it in to the
$.get() function? or is there something else I can do?

Reply via email to