Question

JSON web site uses very clear notation to describe JSON's syntax:

http://www.json.org/object.gif
(source: json.org)

What is the name of such notation? Is this is just a graphical presentation of BNF or it has it's own name?

Was it helpful?

Solution

These are called Syntax Diagrams (or railroad diagrams)

"are a way to represent a context-free grammar. They represent a graphical alternative to Backus–Naur Form or EBNF"

OTHER TIPS

they are called "railroad diagrams"

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top