JSON

  • JSON is another way (along with XML) for formatting data
  • JSON is (probably) the most common way to talk to servers these days
  • Based on JavaScript object definitions
  • You can create a JavaScript object from JSON easily
  • Commonly -- Send a request with some JSON data and get JSON data in response
{
    "name": "Ryan",
    "age": 28,
    "isProfessor": true
}

16 / 25