O'Reilly logo

Learning Julia by Rahul Lakhanpal, Anshul Joshi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

What is JSON?

JSON, short for JavaScript Object Notation, is like the gold standard of data transfer between client and server inside a RESTful web application. The following is an example of what a JSON object looks like:

{
        "name":"rahul",
        "subjects_with_scores":{
                "maths":80,
                "science":90,
                "computers":100
                },
        "country":"india",

}

As you can see, we have a very simple JSON object represented here. It uses a format which uses key:value pairs to store data. These can also have nested structures inside them. For more information, you can look up to the official JSON website, http://www.json.org.

One of the flaws that JSON has is its inability to have comments on it. However, there is a version of JSON in the JSON5 format, which is very similar ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required