field1
and field2
are just strings.
[anything, ..., ... ]
is just an array, so the elements of an object.
and then you have 0
-9
(with decimals, negative, positive or with e
), true
/false
and null
, as numeric values, boolean and nullvalue
{Child}
is an object. I don't think it's called path (I'd say that's opinion-based). maybe field-path, but it's rather a child-object. the key is a string and the value is an object/array/string/bool/null/numeric or decimal
all the possibilities e.g.:
{
"string": "string-value",
"nulltype": null,
"child_object": {
"boolean": true,
"any_decimal_int": -1.5e3
},
"array_values":[
{
"any_value": true
},
{
"any_value": false
}
]
}
of course you can combine more and have unlimited child-objects and lists :)