Hello, I have two questions
1.why are we sending data in JSON format to the backend.is there any other way.how was it sent before json?
2.jQuery.parseJSON vs JSON.parse which function should I use to avoid problems in current browsers? and JSON.parse() is a function of the company that publishes jquery or is it a function used in javascript?
I found such an answer on a site, is it true?
If you are using jQuery version 3 (released in 2016), you should use JSON.parse() as jQuery.parseJSON() has been deprecated.
However, others on the same site say that jQuery.parseJSON() is the safest way to work Which one is right? Thank you.