Comment in JSON


Prev Tutorial Next Tutorial

Comment in JSON

JSON doesn't support comments. It is not a standard. But we can do with some tricks such as adding extra attribute for comment in JSON object, for example.

JSON Object Example

Example

{  
  "employee": {  
  "name":  "Gaurav",   
  "salary":  30000,   
  "married":  true  
  "comments":    "He is from Uttrakhand"  
  }  
}  

Prev Tutorial Next Tutorial

Google Advertisements
Download Projects

Google Adsense Advertisements

Buy 3 Year Old Domain, Tutorialday.com, SeosmoTools.com @$200

Buy This Ad Space @$50 per Month, Ad Size 300X250 Contact on: hitesh.xc@gmail.com WhatsApp no. 8882538826

Yahoo Advertisements