Nested JSON with every value type

A small configuration-style JSON document that uses every JSON value type, deep nesting, escaped characters, Unicode escapes, an empty object and an empty array.

Download

sample-nested-config.json

829 B829 bytes

Download JSON sample

Created in your browser in a few seconds, then checked against the SHA-256 checksum. The file is not uploaded anywhere. No sign-up.

Type
application/json
SHA-256
ec953b49ebd4b1f8be6e9710dbc938cb0e27d6d158e0f9d5fce4951fd7d63916
Delivery
Created in your browser from static generator assets (how it works).

Why test with this file

A compact conformance check for JSON parsers and schema validators.

Root typeObject
Maximum depth6
Value types usedstring, number (integer, negative, decimal, exponent), boolean, null, array, object
EncodingUTF-8 without BOM

What to check

After your application has processed sample-nested-config.json, confirm that:

How the file begins

The opening lines of sample-nested-config.json, exactly as they appear in the file.

{
  "name": "sample-config",
  "version": 3,
  "enabled": true,
  "deprecated": false,
  "owner": null,
  "ratio": 0.75,
  "offset": -42,
  "large": 1.5e+21,
  "escaped": "Quote \" backslash \\ slash / tab \t newline \n",
  "unicode": "café üñï 日本語",
  "empty": {
    "object": {},
    "array": [],

Preview

Shows the file contents.

Technical details

File namesample-nested-config.json
FormatJSON (JavaScript Object Notation)
Extension.json
MIME typeapplication/json
Size829 bytes (829 B)
KindText
SHA-256ec953b49ebd4b1f8be6e9710dbc938cb0e27d6d158e0f9d5fce4951fd7d63916
Created2026-10-10
ValidationSee the listed size and SHA-256. Small downloads are checked in the browser; verify streamed downloads manually. A hash match does not prove parser compatibility.
PreviewAvailable on this page
SourceGenerated in your browser by this site's generator; not copied from elsewhere
LicenceFree to use, modify and redistribute (terms)
CategoryData

Check the stated structure and checksum against your application requirements. As with any download, scan the file with your own security tools before opening it. How files are made and checked

Verify your copy

This file is created in your browser, so it has no direct URL for curl or wget. The generator is designed to produce reproducible bytes. After saving, compare the checksum with the SHA-256 value above.

sha256sum sample-nested-config.json     # Linux
shasum -a 256 sample-nested-config.json # macOS

On Windows, run Get-FileHash sample-nested-config.json -Algorithm SHA256 in PowerShell. For scripts and pipelines, save the file once and keep your own copy.

About JSON

The standard data format of web APIs: objects, arrays, strings, numbers, booleans and null.

JSON format reference

Where it fits

Related files

All curated sample files

How to integrate nested json with every value type into automated QA suites

Curated fixtures like Nested JSON with every value type are built to exercise specific parser branches that generic byte-padded files cannot reach—such as multi-row delimiter escaping, header-vs-trailer structural validation, filename normalization, or media decoder initialization.