Looking over a couple Articles about Json

https://www.json.org/ and https://www.crockford.com/mckeeman.html
What is ws? Just guessing, white space?

“name newline nothing alternatives”

"Each alternative is indented on its own line. Each alternative contains items followed by a newline.

alternatives
alternative
alternative alternatives

alternative
indentation items newline"

What are alternatives?

1 Like

Alternative means an option, a variant, a choice. Something from set of elements. So alternative is an element.

In the article there is example with JSON below.

value //set = value, 
    object // alternative from set value
    array // and this one
    string // same here
    number // ...
    "true" // ...
    "false" // ...
    "null" // ...

All types (bool,string, int whatever) are also a set and alternatives is all valid values.

P.S. Grammars are hard concept.

1 Like

Thanks :slight_smile:
I saved your information to a file

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.