JSON Tutorial

JSON stands for JavaScript Object Notation and its designed to store and transport data. This tutorial series will help you to get started in JSON.

Required Knowledge

Before starting this tutorial, it is important that you have a basic understanding and experience of the following:

  • This tutorial is mainly focused on using JSON with PHP.
  • For your reference, we recommend you read our PHP Array tutorial.

JSON Example

A quick look at the example of JSON and detailed description is given in the JSON Syntax page.

  "students": [
      "firstName": "David",
      "lastName": "Crosby"
      "firstName": "Alex",
      "lastName": "Rodriguez"
      "firstName": "Anna",
      "lastName": "Weston"

In the above example, students information is stored in JSON.

Subscribe Updates via Email

Join 49,000+ W3schools lovers and get all the latest tutorials, programs, algorithms in your inbox.