Skip to content

Latest commit

 

History

History
26 lines (24 loc) · 788 Bytes

json.md

File metadata and controls

26 lines (24 loc) · 788 Bytes

JSON (file format)

JSON or JavaScript Object Notation, also uses a nesting structure, but with the addition of "key/value" pairs, like the firstName key which is tied to the Smally value (at least for the first cat!). JSON is popular with web applications that save and send data from your browser to web servers, because it uses the main language of web browsers, JavaScript, to work with data.

{
    "Cats": [ 
        {
            "firstName": "Smally",
            "lastName": "McTiny"
        }, 
        {
            "firstName": "Kitty",
            "lastName": "Kitty"
        },
        {
            "firstName": "Foots",
            "lastName":"Smith"
        }, 
        {
            "firstName": "Tiger",
            "lastName":"Jaws"
        } 
    ]
}