JSON Samples

Here are some sample JSON data structures. Click the button to copy any of them to your clipboard!

User Information

{
  "name": "John Doe",
  "age": 30,
  "email": "[email protected]",
  "isAdmin": false
}

Product Details

{
  "id": 12345,
  "name": "Wireless Headphones",
  "price": 59.99,
  "inStock": true
}

Order Summary

{
  "orderId": "A123456789",
  "customerName": "Jane Smith",
  "items": [
    {"name": "Laptop", "quantity": 1, "price": 999.99},
    {"name": "Mouse", "quantity": 2, "price": 19.99}
  ],
  "totalPrice": 1039.97
}

Company Information

{
  "companyName": "Tech Solutions Inc.",
  "location": "San Francisco",
  "employees": 150,
  "isPublic": true
}

Weather Report

{
  "location": "New York",
  "temperature": 22,
  "conditions": "Cloudy",
  "windSpeed": 12,
  "humidity": 70
}

Social Media Post

{
  "user": "jane_doe",
  "content": "Hello, world!",
  "likes": 124,
  "comments": [
    {"user": "john_doe", "comment": "Nice post!"},
    {"user": "jenny_smith", "comment": "I agree!"}
  ],
  "isEdited": false
}

E-Commerce Order

{
  "orderId": "ORD987654",
  "customer": {
    "name": "Alice Johnson",
    "address": "123 Main St, Los Angeles, CA"
  },
  "items": [
    {"name": "Smartphone", "price": 699.99, "quantity": 1},
    {"name": "Screen Protector", "price": 9.99, "quantity": 2}
  ],
  "totalAmount": 719.97,
  "paymentStatus": "Paid"
}

API Response

{
  "status": "success",
  "code": 200,
  "message": "Data retrieved successfully",
  "data": {
    "id": 789,
    "name": "Example Data"
  }
}

Library Book

{
  "title": "To Kill a Mockingbird",
  "author": "Harper Lee",
  "publishedYear": 1960,
  "genres": ["Fiction", "Drama"],
  "availability": true
}

User Preferences

{
  "theme": "dark",
  "language": "en",
  "notificationsEnabled": true
}