I found this diagram in the JSON specification:

Where does this diagramming convention come from? Is it just some random convention cooked开发者_JAVA百科 up by D.C.?
That's called a railroad diagram. Have a look at the wikipedia article for more information.
That diagram is known as a syntax diagram or railroad diagram. It's used to visually represent context-free grammars. It's a graphical depiction of the Extended Backus-Naur Form, which is also used to represent context-free grammars.
加载中,请稍侯......
精彩评论