Learn about modern data serialization formats (YAML and JSON) and markup languages (HTML and Ink). Understand when to use each format, how to parse them in different programming languages, and practice with real-world API data. This bridges structured data concepts with web technologies and interactive applications.
json.loads), JavaScript (JSON.parse), Java (verbose!)<body>, <section>), presentation (<b>, <i>), semantics (<strong>, <em>)<i> = italic (presentation) vs <em> = emphasis (semantic meaning)YAML vs JSON: YAML is human-friendly (like Python indentation) but has ambiguous spec and tabs/spaces nightmare. JSON is machine-friendly, ubiquitous for APIs, and has clear syntax rules (but easy to miss trailing commas!).
Flexible schemas are double-edged: Both YAML and JSON allow different keys in different objects. Tom has favourite_numbers, Holly has favourite_food - that's valid! But your parsing code must handle missing keys gracefully.
JSON dominates APIs: If you're calling a web API, there's an 80% chance you'll get JSON back. It's language-agnostic (works in Python, JavaScript, Java, etc.) and easy to parse with built-in libraries.
API pagination is everywhere: The Star Wars API doesn't send all starships at once - it sends 36 results + a next URL. This prevents waiting "until the heat death of the universe" for massive datasets to download!