← All examples
Order JSON Example
A representative order payload with arrays and nested objects. It is useful for checking array type inference in JSON to TypeScript and Java DTO conversion.
{
"orderId": "ord_9001",
"status": "paid",
"items": [
{
"sku": "keyboard-pro",
"quantity": 1,
"price": 129.99
},
{
"sku": "mouse-lite",
"quantity": 2,
"price": 24.5
}
],
"totals": {
"subtotal": 178.99,
"tax": 16.11,
"grandTotal": 195.1
},
"shipping": {
"method": "ground",
"delivered": false
}
}