According to this answer by aleemb, which contains an email response from Douglas Crockford, the diagrams on json.org were made using Microsoft Visio, but Creative Docs.NET is also a viable tool. This answer by Peter Ajtai suggests the Railroad Diagram Generator which takes a formatted context-free grammar and converts it into an SVG image that can be downloaded.