How Do You Represent a Json Array of Strings?
This Is All You Need for Valid Json, Right? ["Somestring1", "Somestring2"] 4 4 Answers I'll Elaborate a Bit More on Chrisr Awesome Answer and Bring Images from...
This is all you need for valid JSON, right?
["somestring1", "somestring2"]
4 Answers
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.
Must Read
{ will start an object:
{ "key": value, "another key": value }
Hint: although javascript accepts single quotes
', JSON only takes double ones".