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 sampleCreated 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 type | Object |
|---|---|
| Maximum depth | 6 |
| Value types used | string, number (integer, negative, decimal, exponent), boolean, null, array, object |
| Encoding | UTF-8 without BOM |
What to check
After your application has processed sample-nested-config.json, confirm that:
- null, false, 0 and the empty string remain four different values after parsing.
- The number 1.5e21 and the negative integer survive a round trip unchanged.
- Escaped characters and Unicode escapes decode to the right text.
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 name | sample-nested-config.json |
|---|---|
| Format | JSON (JavaScript Object Notation) |
| Extension | .json |
| MIME type | application/json |
| Size | 829 bytes (829 B) |
| Kind | Text |
| SHA-256 | ec953b49ebd4b1f8be6e9710dbc938cb0e27d6d158e0f9d5fce4951fd7d63916 |
| Created | 2026-10-10 |
| Validation | See 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. |
| Preview | Available on this page |
| Source | Generated in your browser by this site's generator; not copied from elsewhere |
| Licence | Free to use, modify and redistribute (terms) |
| Category | Data |
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 # macOSOn 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.
Where it fits
- File parser testing
Well-formed files and deliberate edge cases for testing code that reads CSV, JSON, XML, PDF and more.
- API testing
Payloads and attachments for testing REST endpoints that receive, return or transform files.
Related 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.
- Assert both HTTP status and parsed domain attributes: When uploading or parsing this fixture in Playwright, Cypress, Selenium, or pytest, do not stop at asserting
status === 200. Query your application's API or database afterward to confirm that the exact byte length, SHA-256 digest, filename characters, and internal record/page counts were recorded without silent truncation. - Compare against companion edge cases: Pair this curated sample with its counterpart in our Broken-File QA Test Set or Media Edge Cases collection so your test suite verifies both the valid path and the corresponding error handler.
- Inspect raw bytes locally: You can drop this file directly into our in-browser Magic-Byte File Inspector to view its leading 64-byte hexadecimal dump and verify its SHA-256 checksum without leaving your browser.