Upvotes382Top Answeredited Jun 20, 2020 at 9:12

    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 t...

    Content Under CC-BY-SA license
    Was this helpful?

    See results from:

  1. How do you represent a JSON array of strings? - Stack …

    Mar 14, 2011 · JSON is almost always an object with attributes; a set of one or more key:value pairs, so you most likely see a dictionary: then you can ask for the value of "MyStringArray" and you would get back a list of two strings, …

  2. JSON Arrays - W3Schools

  3. java - JSON Structure for List of Objects - Stack Overflow

  4. JSON Structures | JSON tutorial - w3resource

  5. A Beginner's Guide to JSON with Examples - Atta-Ur-Rehman Shah

  6. A beginner's guide to JSON, the data format for the …

    Jun 2, 2022 · In this article, we’ll cover the basics of what JSON looks like and how to use it in your web applications, as well as talk about serialized JSON—JST and JWTand the competing data formats. JSON is a human …

  7. JSON Syntax - W3Schools

  8. JSON Cheat Sheet & Quick Reference

    This is a quick reference cheat sheet for understanding and writing JSON format configuration files. JSON is a lightweight text-based open standard designed for human-readable data interchange. JSON is easy to read and write.

  9. Working with JSON - Learn web development | MDN - MDN Web …

  10. JSON Tutorial – Introduction, Structure, Syntax Rules, …

    May 10, 2024 · In this tutorial, we’ll introduce the JSON data exchange format. This post covers a JSON object’s structure, JSON syntax rules, data exchange with JSON, and programming languages support for JSON. What is JSON? …

  11. Some results have been removed