JSON stands for javascript object designation (as I am sure you know), so why, when sending json via ajax, do you need to turn it into a string to send it? Is it just formatting, or what?
It may be in another place, if so, let me know, I will close it and translate.
Obviously, I am not looking for opinions, I would like to know the actual answer.
Just to make sure I understand, I understand what JSON.stringify () does, and its counterpart is JSON.parse (). I just want to know why use stringify.
Thanks!
json javascript ajax
Jacques
source share