Yumina

Community · Creator Exchange

JSON object array?

Dyl ·

Could someone explain what the JSON object array is when it comes to variable? I'm not sure how it works or if im supposed to add something to the starting value, just curious. thx.

1 reply

  1. peach ·

    This is a JSON object: {"key": "value"} This is a JSON object array [{"key": "value", "key1": true}, {"key": "value3"}]

    JSON is like a mapping of strings to objects(strings, numbers, other JSONs) An array is a list of something. A string array for example is a list of string: ["", "123", "hello"] A JSON array is a list of JSONs