PizzaStack.github.io

JavaScript

JavaScript is an object-oriented scripting language supported by most web browsers using an engine such as V8 on Chrome and SpiderMonkey on Firefox. Source code is directly translated (and now JIT compiled as well) into instructions to be run by the browser. JavaScript is loosely-typed and supports higher-order functions.

Features

JSON

JSON (JavaScript Object Notation) is a lightweight data format resembling JavaScript objects for simple exchange of data between different programming languages. It can be saved as a text file or sent through an HTTP payload.

example.json

{
    'id':7
    'name':'Example Name'
}

The JSON API in JavaScript can parse this into a proper Object using JSON.parse('example.json'), while JSON.stringify(exampleObject) will turn an object into a JSON string.