JSON Example

JSON case can be made by object and array. Every object can have diverse information, for example, content, number, boolean and so forth. How about we see distinctive JSON illustrations utilizing object and array.

JSON Object Example


{ "employee": { "name": "Mithilesh", "salary": 50000, "married": true } }

JSON array Example


    {"name":"Mithilesh", "email":"mithileshgniit@gmail.com"},  
    {"name":"harish", "email":"harishsharma@gmail.com"},  
    {"name":"sumant", "email":"sumant@gmail.com"}  

You can represent above example in xml like this.