Is there any way to do the JSON encode that is in PHP, but from JavaScript or jQuery?
I need to pass an array that I create from JavaScript through an Ajax connection that I send by POST, and then this request is transformed by PHP into a GET request, that's why I want to have the array in a text string, so as not to have a variable GET each position of the array.
Thanks in advance.