REPRODUCIBLE SAMPLE

JSON Sample File for Parsing and Import Tests

Test nested records and value types with this original UTF-8 JSON file. The preview shows exactly what the download contains.

Download and verify

format-odyssey-sample.json ↓

Bytes
173
Media type
application/json
SHA-256
7fb1f7aa44168770e8b46af367026b66fd565388ed9474a5c8d683d884645839
Creation
Original, reproducible test fixture

What is included

  • UTF-8 JSON object with two nested item objects
  • Boolean, number and quoted numeric-looking string
  • Escaped quotation marks; no comments or trailing commas

Created for Format Odyssey and dedicated to the public domain under CC0 1.0. CC0 1.0 Universal.

Preview the sample

{
  "name": "Demo inventory",
  "active": true,
  "code": "00123",
  "items": [
    { "name": "Widget", "quantity": 3 },
    { "name": "Cable \"A\"", "quantity": 12 }
  ]
}

Try it in your workflow

Test nested records, value types and quotation-mark escaping.

  1. Download and open the UTF-8 source shown below.
  2. Parse it with the JSON parser used by your application.
  3. Check the root object, items array and quoted code value.

Expected result

active is true; code is the string "00123"; items has two objects with numeric quantities 3 and 12.

What this fixture covers

This is a small valid document. It does not cover JSON Lines, duplicate names, huge numbers or failure handling.

Use it safely

Keep the checksum with the file when testing. The sample only exercises a small valid shape; it does not prove that an importer handles every variant or malicious input.

Read the JavaScript Object Notation guide

Format references