In our day to day JSON usage, the JSON is usually used as an object with string key and various value type pairs, for example:
1 | { |
The JSON can also made out of arrays:
1 | [ |
And JSON can actually take the form of any data type that is valid for inclusion inside JSON, not just arrays or objects. So for example, a single string or number would be valid JSON (reference).
Single number or string JSON:
1 | 110 |
1 | "hello, json" |
You can validate them in the online formetter.