I'll elaborate a bit more on ChrisR awesome answer and bring images from his awesome reference.

A valid JSON always starts with either curly braces { or square brackets [, nothing else.

{ will start an object:

{ "key": value, "another key": value }

Hint: although javascript accepts single quotes ', JSON only takes double ones ".

[ will start an array:

[value, value]

Hint: spaces among elements are always ignored by any JSON parser.

And value is an object, array, string, number, bool or null:

So yeah, ["a", "b"] is a perfectly valid JSON, like you could try on the link Manish pointed.

Here are a few extra valid JSON examples, one per block:

{}

[0]

{"__comment": "json doesn't accept comments and you should not be commenting even in this way", "avoid!": "also, never add more than one key per line, like this"}

[{   "why":null} ]

{
  "not true": [0, false],
  "true": true,
  "not null": [0, 1, false, true, {
    "obj": null
  }, "a string"]
}
Answer from cregox on Stack Overflow
🌐
W3Schools
w3schools.com › js › js_json_arrays.asp
JSON Arrays
JS Examples JS HTML DOM JS HTML Input JS HTML Objects JS HTML Events JS Browser JS Editor JS Exercises JS Quiz JS Website JS Syllabus JS Study Plan JS Interview Prep JS Bootcamp JS Certificate JS Reference ... Arrays in JSON are almost the same as arrays in JavaScript. In JSON, array values must be of type string...
🌐
EDUCBA
educba.com › home › software development › software development tutorials › javascript tutorial › json array of strings
JSON Array of Strings | How JSON Array of String Works? (Examples)
April 14, 2023 - This is a guide to JSON Array of Strings. Here we also discuss the introduction and how json array of string works? along with different examples and its code implementation.
Address   Unit no. 202, Jay Antariksh Bldg, Makwana Road, Marol, Andheri (East),, 400059, Mumbai
🌐
GeeksforGeeks
geeksforgeeks.org › javascript › what-is-json-array
What is JSON Array? - GeeksforGeeks
July 23, 2025 - JSON array of Strings contains string elements only. For example, the array below has 6 string elements, "Ram", "Shyam", "Radhika", "Akshay", "Prashant" and "Varun", each element is separated with a comma (,).
🌐
CodeUtility
blog.codeutility.io › programming › how-to-use-arrays-in-json-with-examples-in-code-5eeef2665f
How to use Arrays in JSON (With Examples in Code) | CodeUtility
September 26, 2025 - Ruby’s expressive syntax and ... require 'json' # Sample JSON string json = '[{"name":"Alice","active":true},{"name":"Bob","active":false},{"name":"Carol","active":true}]' # 1....
🌐
Adobe
opensource.adobe.com › Spry › samples › data_region › JSONDataSetSample.html
JSON Data Set Sample
Notice that the names of the columns ... the flattening process, you simply pass an array of strings: var dsExample7 = new Spry.Data.JSONDataSet("../../data/json/object-03.js", { subPaths: [ "image", "thumbnail" ] }); ......
🌐
Javatpoint
javatpoint.com › json-array
JSON Array - javatpoint
JSON Array for beginners and professionals with examples of JSON with java, json array of string, json array of numbers, json array of booleans, json srray of objects, json multidimentional array. Learn JSON array example with object, array, schema, encode, decode, file, date etc.
🌐
ReqBin
reqbin.com › json › uzykkick › json-array-example
What is JSON Array?
The JSON array of strings contains only string elements, where each element is separated by a comma (,). The following is an example of a JSON array storing string values:
Find elsewhere
🌐
UiPath Community
forum.uipath.com › learning hub › academy feedback
How do I create a JSON string from an Array? - Academy Feedback - UiPath Community Forum
Hello, So I see plenty of examples on how to take an JSON string the bot got from another service and deserialize it into an array for it to process. But I’m trying to go in the other direction. My bot has gathered vari…
Published   July 30, 2018
🌐
JSON Schema
json-schema.org › understanding-json-schema › reference › array
JSON Schema - array
Here, we'll reuse the example schema above, but set items to false, which has the effect of disallowing extra items in the tuple. ... { "type": "array", "prefixItems": [ { "type": "number" }, { "type": "string" }, { "enum": ["Street", "Avenue", "Boulevard"] }, { "enum": ["NW", "NE", "SW", "SE"] } ], "items": false}
🌐
Cswr
cswr.github.io › JsonSchema › spec › arrays
Arrays - JSON Schema
Arrays are used to represent ordered sets of values, such as the following sequence of strings: ["Chilean", "Argentinean", "Peruvian", "Colombian"] In this section we specify array's main charasteristics and restrictions that may apply to them using a single JSON Schema document.
🌐
Micro Focus
microfocus.com › documentation › silk-performer › 205 › en › silkperformer-205-webhelp-en › GUID-0847DE13-2A2F-44F2-A6E7-214CD703BF84.html
JSON Array Structure
In contrast to regular arrays from the BDL, the elements of a JSON array can be of different data types. The following data types are allowed for JSON arrays: [ ] //Empty JSON array [ 0, 1, 2, 3, 4, 5] [ “StringValue”, 10, 20.13, true, null ] [ { “Name” : “Nested Object” }, [ 10, 20, true, 40, “Nested Array” ] ]
🌐
PrepBytes
prepbytes.com › home › arrays › json array: structure and example
JSON Array: Structure and Example
September 22, 2023 - For instance, the array below contains six string items separated by commas: "Ram," "Shyam," "Radhika," "Akshay," "Prashant," and "Varun" (,). ["Ram", "Shyam", "Radhika", "Akshay", "Prashant", "Varun"] JSON Array Example: Here, we’ll give ...
🌐
FlutterFlow Community
community.flutterflow.io › ask-the-community › post › create-json-array-from-list-of-strings-1A4EOYJN1pEDzRa
Create JSON array from list of strings?
April 22, 2024 - Hi all curious, I'm trying to collect a list of emails from my user collection and send that list as a JSON array in an API request. Is it possible to create a JSON array in FF for this? Hardcoding ...
🌐
ReqBin
reqbin.com › json › nodejs › uzykkick › json-array-example
Node.js | What is JSON Array?
The JSON array of strings contains only string elements, where each element is separated by a comma (,). The following is an example of a JSON array storing string values:
🌐
Quora
quora.com › How-do-you-convert-a-JSON-object-into-a-String-Array
How to convert a JSON object into a String Array - Quora
Answer: It kind of depends on what you intend on doing with the json object, and possibly what the json object contains. A using object is a linefeed delimited string. It may contain an array as one of its members. So if the intent is to store the entire json object as an array of strings, start...
🌐
Losant Forums
forums.losant.com › help
[Solved] How to manipulate a "string array" in json payload - Help - Losant Forums
July 26, 2017 - Hey Guys, I have a question related to the “array”?! function. I want to extract to values of an array (but it actually is a string) - or I don’t know if this is the right word, it’s just a chain of values. The part of the array looks like this: … “data”:“[‘open’, ‘OK’, ...
🌐
IBM
ibm.com › support › pages › creating-json-string-json-object-and-json-arrays-automation-scripts
Creating a JSON String from JSON Object and JSON Arrays in Automation Scripts
# creating a JSON String (directly ... creating a JSON formatted String def createJSONstring(): obj = JSONObject() obj.put('FIELD_1', 'VALUE_1') obj.put('FIELD_2', 0) obj.put('FIELD_3', 1.1) obj.put('FIELD_4', True) # add as many fields as needed ......
🌐
RestfulAPI
restfulapi.net › home › json › json array
JSON Array - Multi-dimensional Array in JSON
November 4, 2023 - JSON arrays can be of multiple data types. JSON array can store string, number, boolean, object or other array inside JSON array. In JSON array, values must be separated by comma. Arrays in JSON are almost the same as arrays in JavaScript. For example, given below is a JSON document that contains ...