Advanced JSON Examples for Developers
These advanced JSON samples help developers validate structured data, debug APIs, and work with modern databases using a JSON Viewer.
Example 6: Schema.org FAQ JSON-LD
SEO-friendly FAQ structured data used for rich results in Google Search.
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "What is a JSON Viewer?",
"acceptedAnswer": {
"@type": "Answer",
"text": "A JSON Viewer formats and displays JSON data in a readable structure."
}
}
],
"publisher": "JsonifyTools",
"inLanguage": "en"
}Example 7: API Error JSON Response
Standard error response returned from REST or GraphQL APIs.
{
"error": true,
"statusCode": 401,
"errorCode": "AUTH_UNAUTHORIZED",
"message": "Invalid or expired access token",
"path": "/api/v1/orders",
"method": "GET",
"requestId": "req-77821",
"timestamp": "2026-01-11T10:12:44Z",
"retryable": false
}Example 8: DynamoDB Item JSON
A DynamoDB item using partition and sort keys.
{
"pk": "CUSTOMER#1021",
"sk": "ORDER#2026-01-11T09:30:00Z",
"orderId": "ORD-55678",
"amount": 189.99,
"currency": "USD",
"status": "CONFIRMED",
"paymentMethod": "UPI",
"createdAt": "2026-01-11T09:30:00Z",
"ttl": 1768200000
}Example 9: MongoDB Document JSON
A document stored in a MongoDB collection.
{
"_id": { "$oid": "65a91fca12ab4490a21d" },
"name": "JSON Viewer Tool",
"category": "Developer Tools",
"tags": ["json", "formatter", "viewer"],
"isPublic": true,
"stars": 482,
"owner": "jsonify",
"createdAt": { "$date": "2026-01-01T08:00:00Z" },
"updatedAt": { "$date": "2026-01-10T18:20:00Z" }
}Format & Explore JSON Instantly
Use these real-world JSON examples to test formatting, validation, and syntax highlighting with our online tool.
Try JSON Viewer → click here