Answers for "json object syntax"

3

JSON Syntax

{
    "naming": "Umair Ali",
    "fee": 4567.8,
    "rollNo": 33,
    "fruits": [
        "banana",
        "apple",
        "orange"
    ],
    "nesting": {
        "school": "Paras",
        "class": 9,
        "myObj": [
            "english",
            "history",
            "science",
            65.4,
            {
                "boolean": true
            },
            "InternetKiDunya.Com"
        ]
    }
}
Posted by: Guest on July-07-2021
4

json objects

{ "name":"John", "age":30, "car":null }
Posted by: Guest on January-07-2020
3

json object

var myObj, x;
myObj = {"name":"John", "age":30, "car":null};
x = myObj.name;
document.getElementById("demo").innerHTML = x;
Posted by: Guest on April-16-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language