RULES-TO-CREATE-JSON-DATA

data is written inside the curly braces

{josn data}

Data is represented as key value pairs {Key:value}

Key should be enclosed in double quotes

{"name":"ram"}

Key and value should be separated by colon(:)

{"name":"ram"}

comma is used to separate data.

{"name":"ram","age":25}

square brackets hold arrays.

{"marks":[95,85,74,65]}

Curly braces hold objects.