Articles → JSON → Introduction To JSON

Introduction To JSON






What Is JSON





Syntax




{"key_name":"value"}



Data Types




  1. String
  2. Number
  3. Object
  4. Array
  5. Boolean
  6. NULL



String




{"name":"gyansangrah"}





Number




{"my_num":12}



Object




{Person: 
{"Name":"gyansangrah",
"age" :8
}}



Array




{students:["Karan","Anurag", "Ritesh"]}



Boolean




{"IsApplicable":"True"}
              Or
{"IsApplicable":"False"}



NULL




{ "middlename":null }



Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, July 19, 2011
 
Updated On  -  Thursday, November 16, 2017

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250