JSON Examples & Sample Data
A curated collection of JSON samples you can copy and drop into any of the JSON Mint tools for testing or learning.
REST API Response
API
A typical paginated REST API response with users.
{
"page": 1,
"perPage": 10,
"total": 42,
"data": [
{
"id": 1,
"name": "Ada Lovelace",
"email": "ada@example.com",
"active": true
},
{
"id": 2,
"name": "Alan Turing",
"email": "alan@example.com",
"active": true
}
]
}package.json
Config
A minimal npm package manifest.
{
"name": "my-app",
"version": "1.0.0",
"scripts": {
"dev": "next dev",
"build": "next build"
},
"dependencies": {
"next": "^16.0.0",
"react": "^19.0.0"
}
}GeoJSON Point
GeoJSON
A simple GeoJSON FeatureCollection with one point.
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"name": "San Francisco"
},
"geometry": {
"type": "Point",
"coordinates": [
-122.4194,
37.7749
]
}
}
]
}Nested Object
Structure
A deeply nested object for testing tree navigation.
{
"user": {
"profile": {
"name": "Jane",
"preferences": {
"theme": "dark",
"lang": "en"
}
},
"roles": [
"admin",
"user"
]
}
}Array of Mixed Types
Structure
An array containing strings, numbers, booleans, and null.
[
"hello",
42,
true,
null,
3.14,
{
"k": "v"
}
]tsconfig.json
Config
A minimal TypeScript configuration.
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"strict": true,
"jsx": "react-jsx"
},
"include": [
"src/**/*"
]
}Why use JSON examples?
When you're learning a new tool, a data format, or a query language, having real-world JSON on hand saves you from inventing test data. These examples cover typical API responses, configuration files, GeoJSON, and nested structures. Copy one and paste it into the formatter, validator, JSONPath tester, or any of the converter tools on JSON Mint.