JSON Examples

Realistic sample JSON files for testing, learning, and development

Common Data2.1 KB

User Profiles

Array of user profiles with personal information, addresses, and preferences

{
  "users": [
    {
      "id": 1,
      "firstName": "John",
      "lastName": "Doe",
      "email": "[email protected]",
      "age": 32,
      "isActive": true,
      "roles": [
        "admin",
        "editor"
      ],
      "address": {
        "street": "123 Main Street",
        "city": ...
E-commerce3.5 KB

E-commerce Products

Product catalog with variants, pricing, inventory, and metadata

{
  "products": [
    {
      "id": "prod_001",
      "sku": "LAPTOP-PRO-15",
      "name": "ProBook Laptop 15\"",
      "description": "High-performance laptop with Intel i7, 16GB RAM, 512GB SSD",
      "brand": "TechBrand",
      "category": [
        "Electronics",
        "Computers",
        "L...
API1.8 KB

REST API Response

Paginated API response with data, metadata, and error handling structure

{
  "success": true,
  "data": {
    "items": [
      {
        "id": 1,
        "title": "Getting Started with React",
        "views": 15420,
        "published": true
      },
      {
        "id": 2,
        "title": "Advanced TypeScript Patterns",
        "views": 8930,
        "published": tru...
E-commerce2.8 KB

E-commerce Orders

Order data with line items, shipping, payment, and status tracking

{
  "orders": [
    {
      "orderId": "ORD-2024-00158",
      "status": "shipped",
      "customer": {
        "id": "cust_789",
        "name": "Alice Johnson",
        "email": "[email protected]",
        "phone": "+1-555-123-4567"
      },
      "items": [
        {
          "productId": "pr...
Configuration1.5 KB

Application Config

App configuration with environment settings, feature flags, and services

{
  "app": {
    "name": "MyApp",
    "version": "2.5.0",
    "environment": "production"
  },
  "server": {
    "host": "0.0.0.0",
    "port": 3000,
    "cors": {
      "enabled": true,
      "origins": [
        "https://example.com",
        "https://app.example.com"
      ],
      "methods": [
 ...
Geographic2.2 KB

GeoJSON Map Data

Geographic data with points, polygons, and feature properties

{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          -73.9857,
          40.7484
        ]
      },
      "properties": {
        "name": "Empire State Building",
        "category": "landmark"...
API1.9 KB

Weather API Data

Weather forecast data with current conditions and multi-day forecast

{
  "location": {
    "city": "San Francisco",
    "region": "California",
    "country": "USA",
    "coordinates": {
      "lat": 37.7749,
      "lon": -122.4194
    },
    "timezone": "America/Los_Angeles"
  },
  "current": {
    "timestamp": "2024-07-15T14:00:00-07:00",
    "temperature": {
     ...
Content2.4 KB

Blog Posts

Blog content with authors, tags, comments, and SEO metadata

{
  "posts": [
    {
      "id": "post_001",
      "slug": "introduction-to-json",
      "title": "Introduction to JSON: A Beginner's Guide",
      "excerpt": "Learn the basics of JSON, the most popular data interchange format.",
      "content": "JSON (JavaScript Object Notation) is a lightweight d...
Configuration1.2 KB

package.json

Node.js project configuration with dependencies and scripts

{
  "name": "my-awesome-app",
  "version": "1.0.0",
  "description": "A modern web application built with React and TypeScript",
  "main": "dist/index.js",
  "scripts": {
    "dev": "vite",
    "build": "tsc && vite build",
    "preview": "vite preview",
    "test": "vitest",
    "lint": "eslint src...
Common Data2.6 KB

Employee Directory

HR data with employees, departments, and organizational structure

{
  "company": {
    "name": "TechCorp Inc.",
    "founded": 2015,
    "headquarters": "San Francisco, CA"
  },
  "departments": [
    {
      "id": "dept_eng",
      "name": "Engineering",
      "budget": 2500000
    },
    {
      "id": "dept_mkt",
      "name": "Marketing",
      "budget": 800000...

About These JSON Examples

These sample JSON files are designed to help developers test their applications, learn JSON structure, and prototype features. Each example represents realistic data structures commonly used in modern web development.

Testing & Development

Use these files to test JSON parsing, API mocking, form validation, and data visualization components.

Learning JSON

Study real-world JSON structures including nested objects, arrays, and various data types.

API Prototyping

Mock API responses for frontend development before backend services are ready.