Member_2_6280017
asked on
What is JSON?
What does JSON do?
What is it good for?
How to use it?
What is it good for?
How to use it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
How can it be used?
It can be used anytime you want to store anything as text. You can store it in a JSON format so that you'll have sort of 'common base' for anything that you might want to read or interpret it with later. Almost like a format for storing data as text.
ASKER
that sounds like a string, so its like serialization?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
one example of json's use: firefox's default method of backing up bookmarks is in a json file
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It's not really serialization, it's just a common way of storing info in a text file. That way if you want to read that text file from another program or language, you know what format it's going to be in so you can pick data out easily.
"JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others. These properties make JSON an ideal data-interchange language."
See more here: http://remysharp.com/2007/10/08/what-is-jsonp/