5

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?

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
abatishchev
  • 98,240
  • 88
  • 296
  • 433

2 Answers2

6

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"

David Sykes
  • 48,469
  • 17
  • 71
  • 80
2

they are called "railroad diagrams"

Nikolaus Gradwohl
  • 19,708
  • 3
  • 45
  • 61