Closed volkanunsal closed 9 years ago
The encoding method of this library is killing me. I have a data structure like this:
{paths: [['location', 'ohana-1']]}
Yes, that's an array in an array. Currently it's encoded into JSON like this:
{'paths[][]': [ 'location', 'ohana-1' ] }
Expected encoding:
Is there any hope here?
Btw, the above is just for the query. But I have a similar problem when I try to send the data in the body with a POST request.
{ '{"paths":["locations",{"from":0,"to":20}]}': ""}
The encoding method of this library is killing me. I have a data structure like this:
Yes, that's an array in an array. Currently it's encoded into JSON like this:
Expected encoding:
Is there any hope here?