What’s on the JSON & YAML poster
JSON against YAML, side by side.
- JSON: Strings must use double quotes
- JSON: No comments, ever
- JSON: No trailing commas
- JSON: Types: string, number, bool, null, array, object
- JSON: Unambiguous — that is the point
- YAML: Indentation is structure; spaces only
- YAML: Comments with #
- YAML: Strings often need no quotes
- YAML: --- separates documents
- YAML: &anchor and *alias reuse a block
- YAML's convenience is also its risk: unquoted `no` becomes false, `1.0` becomes a num…
Quote anything that could be read as a boolean, a number or a date. In YAML 1.1, yes/no/on/off are all booleans.
Questions about the JSON & YAML poster
- What’s on the JSON & YAML poster?
- JSON against YAML, side by side. JSON: Strings must use double quotes; JSON: No comments, ever; JSON: No trailing commas; JSON: Types: string, number, bool, null, array, object; JSON: Unambiguous — that is the point; YAML: Indentation is structure; spaces only; YAML: Comments with #; YAML: Strings often need no quotes; YAML: --- separates documents; YAML: &anchor and *alias reuse a block; YAML's convenience is also its risk: unquoted `no` becomes false, `1.0` becomes a num…. Quote anything that could be read as a boolean, a number or a date. In YAML 1.1, yes/no/on/off are all booleans.
- Who is the JSON & YAML poster for?
- JSON & YAML belongs to the Computing section rather than to a school year, because computing is not something one grade owns. Anyone learning languages can pin it up — a beginner, a student mid-course, or someone revising years later.
- When should you use the JSON & YAML poster?
- JSON is a subset of YAML. When YAML confuses you, writing the JSON form always works. A wall chart earns its place by being glanceable from where the work is happening, so JSON & YAML belongs on the wall where that computing work actually happens, within glancing distance, rather than filed away.
- What other posters go with JSON & YAML?
- REST API Design, Bash Scripting and Error Handling sit alongside JSON & YAML in the Computing section. Printed together they make a wall rather than a single sheet, which is how a reference set actually gets used.REST API DesignBash ScriptingError Handling
- Is the JSON & YAML poster free to download and print?
- Yes. JSON & YAML downloads as a free PDF with no account, no email and no watermark, like everything else in the Computing section. Print as many copies as you like for a home, a classroom, a library or a tutoring group; reselling the file is the only thing the licence rules out.Read the licence
- What size does the JSON & YAML poster print at?
- JSON & YAML is a vector PDF laid out for US Letter, and prints on A4 with Fit to page — the same file, no separate download. Because every mark on it is drawn rather than photographed, it stays sharp enlarged to A3, A2 or A1 at a copy shop. Colour carries emphasis only, so a greyscale print of JSON & YAML loses nothing.Printing guide
Related posters
Charts that sit alongside JSON & YAML on the same wall.
Browse every Computing poster, or start from the full catalogue.