Answer the question
In order to leave comments, you need to log in
Which module can convert json to querystring?
There is json:
{
phone: [ '1111111', '2222222222' ]
}
Answer the question
In order to leave comments, you need to log in
The module you specified returns a perfectly valid string.
As for your example, it is wrong:
If you cast this string to an array, you get
... because there are two parameters in the string with the same name.
If you are confused by the percentages in the line, then these are encoded square brackets. You can decode using the decodeuricomponent function
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question