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?
JavaScriptPHPJScript

Avatar of undefined
Last Comment
Kelaros

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Kelaros

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
hello_everybody

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/
ASKER
Member_2_6280017

How can it be used?
Kelaros

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.
Your help has saved me hundreds of hours of internet surfing.
fblack61
ASKER
Member_2_6280017

that sounds like a string, so its like serialization?
SOLUTION
leakim971

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
kdtresh

one example of json's use: firefox's default method of backing up bookmarks is in a json file
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Kelaros

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.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.