User account menu

  • Log in
CMSPC

Main navigation

  • Home
  • Article

What is JSON? Explained with JSON Examples!

Breadcrumb

  • Home
  • Article
  • What is JSON? Explained with JSON Examples!

Related article

  1. DIY Smart Home Hacks: Easy, Affordable Ways to Live Green & Save Energy
  2. The 5 AM Myth: Why Waking Up Early Won’t Fix Your Productivity
  3. Finding Independence and Support: A Guide to Supported Independent Living in Melbourne
  4. Mental Toughness in sports: Maintaining focus and composure during intense matches
  5. 11 Best snooker players of all time
  6. 8 Ball vs. 9 Ball: Contrasting the nuances of these two popular pool variations
  7. Advanced Cue Techniques: Mastering spin, swerve, and Jump shots in 8 Ball Pool
  8. How to play a Bank shot in 8 ball pool: Executing a precise bank shots
  9. Top-rated cue sticks: Exploring the best cues and their unique attributes
  10. Snooker Rules and Regulations: A comprehensive guide to the rules governing the game
By Anonymous (not verified) | 8:20 PM CST, Wed November 05, 2025
CSS

Let’s get to the JSON structure. { "Actors": [ { "id": "1", "firstName": "Tom", "lastName": "Cruise" }, { "id": "2", "firstName": "James", "lastName": "Bond" } ] } This example shows the Actors’ data and has two actors. It’s easy to understand along with that it takes less space to store in memory than XML.
Above JSON data consists of an array of Actors and each actor is value in JSON Array. Looks complicated?
Let’s understand all the data type JSON has, to represent the data.
JSON Data Types Number String Boolean Array Object NullThis example uses all the JSON data types.
{ "id": 1, "age": 30, "Name": "James Bond", "Address" :[ { "city":"Los Angels", "country": "USA" }, { "city":"London", "country": "UK" } ], "wife":null, "ishavingmobile":true, "firstmovie" :{ "name":"Dr. No", "releaseyear":1962 }   } I hope you are having an understanding of JSON now. Let me know if you have any questions about JSON in the comment sections, I am happy to help. You can also play with JSON data at json parser.

json data
  • Log in or register to post comments

Comments

Category

Advertising
Advice
Affiliate Programs
Agriculture
Animals and Pets
Art
Automobiles
Awards
Beauty
Books
Business
CGI
CSS
Career and Employment
Comforting Words
Communication
Computers
Construction and Repairs
Copywriting
Culture
All category

Copyright © 2025 Google - All rights reserved

Developed & Designed by Google