---
title: "Explain JSON Syntax using JavaScript?"  
description: "Explain JSON Syntax using JavaScript?"  
author: "AVADHESH PATEL"  
published: 2013-05-29  
updated: 2020-09-22  
canonical: https://www.mindstick.com/interview/1726/explain-json-syntax-using-javascript  
category: "json"  
tags: ["json"]  
reading_time: 1 minute  

---

# Explain JSON Syntax using JavaScript?

JSON is smaller than XML, and faster and easier to parse. Below is a basic syntax of JSON\
JSON CODE{"student":[{"firstName":"Samuel","lastName":"Fernandes"},{"firstName":"Takeshi","lastName":"Okada"},{"firstName":"Jacob","lastName":"Rasel"}]}\

## Answers

### Answer by AVADHESH PATEL

JSON is smaller than XML, and faster and easier to parse. Below is a basic syntax of JSON\
JSON CODE{"student":[{"firstName":"Samuel","lastName":"Fernandes"},{"firstName":"Takeshi","lastName":"Okada"},{"firstName":"Jacob","lastName":"Rasel"}]}\


---

Original Source: https://www.mindstick.com/interview/1726/explain-json-syntax-using-javascript

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
