Home
/
Sample JSON Files
/
Small (1 KB)
Small sample JSON file (~1 KB)
Last updated 2026-05-20
When to use this
Use this for a quick parser smoke test, a code-sample placeholder, or a fixture in a unit test. Small enough to inline in a tutorial yet realistic enough to look like real data.
Example JSON
Single sample object — small enough to drop straight into a test.
{
"id": 1,
"type": "user",
"firstName": "Emily",
"lastName": "Johnson",
"email": "emily.johnson@x.example",
"city": "Phoenix",
"country": "US",
"verified": true,
"tags": [
"demo",
"sample",
"json"
]
}
Request examples
fetch()
Node.js
Python
cURL
Copy
const data = await fetch('https://jsonexamples.com/downloads/sample-small.json').then(r => r.json());
Copy
const fs = require('fs');
const data = JSON.parse(fs.readFileSync('./sample-small.json', 'utf8'));
Copy
import json
with open('sample-small.json') as f:
data = json.load(f)
Copy
curl -O https://jsonexamples.com/downloads/sample-small.json
Copy link to this example
https://jsonexamples.com/sample-json-files/small