Data Formats

JSON and CSV: shape, rules and conversion.

Data Formats is taught here in 2 lessons, running from JSON basics through to CSV vs JSON. Each lesson takes one topic, shows the working code, and links onward to the next, so the course can be read straight through in order.

TrackComputer Science Fundamentals
Lessons2
LevelBeginner
Reading timeabout 26 minutes
PrerequisitesHelpful, but not required: Hashing & Checksums

Lessons

  1. JSON basicsThe shape of JSON, how it maps to language types, and the easy mistakes that produce invalid JSON.
  2. CSV vs JSONWhen a flat table beats nested documents, and how to convert between them safely.

More in Computer Science Fundamentals

Algorithms Data Structures Computer Networks Operating Systems Character Encodings Hashing & Checksums Dates & Time Regular Expressions

FAQ

How long does the Data Formats course take?
It has 2 lessons, about 26 minutes of reading. Expect roughly twice that if you type out and run every example.
Do I need prior experience for Data Formats?
Not strictly. It helps to have read Hashing & Checksums first, because some lessons build on it, but every lesson explains its own assumptions.
What should I read after Data Formats?
Continue with Dates & Time (2 lessons), the next course in Computer Science Fundamentals.

Last refreshed 2026-09-18.