EXPLAIN JSON SYNTAX USING JAVASCRIPT?

AVADHESH PATEL

Total Post:257

Points:1285
Posted by  AVADHESH PATEL
JSON 
 2187  View(s)
Ratings:
Rate this:
  1. AVADHESH PATEL

    Post:257

    Points:1285
    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"}
    ]
    }

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!