I have an array of objects in javascript and I know that I need to use json to pass it to server, but I don’t know which library I should use. I found in this post, that I have to use JSON.stringify() function; , but there’s also a comment that says that JSON.stringify is not a standard function and I should use json2.js instead.
What I’d like to know is :
-
Is there any pre-installed Json library in javascript?
-
Which is the best Json library I can use in javascript as well as in java.
-
And… if it´s not too much to ask… where can I get those libraries
thanks beforehand
1 Answer