Link to home
Start Free TrialLog in
Avatar of Member_2_6280017
Member_2_6280017Flag for Puerto Rico

asked on

What is JSON?

What does JSON do?
What is it good for?
How to use it?
ASKER CERTIFIED SOLUTION
Avatar of Kelaros
Kelaros
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
from their website:

"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/
Avatar of Member_2_6280017

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.
that sounds like a string, so its like serialization?
SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kdtresh
kdtresh

one example of json's use: firefox's default method of backing up bookmarks is in a json file
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.