案例
A support ticket with a zero-prefixed identifier
输入
{
"ticket": "00123",
"priority": "high"
}Expected answer
{"ticket":"00123","priority":"high"}{"ticket":"00123","priority":"high"}An observatory reading with a negative temperature
输入
{
"station": "demo-observatory",
"temperatureC": -12.5,
"open": false
}Expected answer
{"station":"demo-observatory","temperatureC":-12.5,"open":false}{"station":"demo-observatory","temperatureC":-12.5,"open":false}A café menu with Unicode and a decimal price
输入
{
"item": "café",
"price": 3.5,
"currency": "EUR"
}Expected answer
{"item":"café","price":3.5,"currency":"EUR"}{"item":"café","price":3.5,"currency":"EUR"}A safe webhook retry policy
输入
{
"timeoutMs": 5000,
"retries": 2,
"enabled": true
}Expected answer
{"timeoutMs":5000,"retries":2,"enabled":true}{"timeoutMs":5000,"retries":2,"enabled":true}An image manifest with a null caption
输入
{
"width": 640,
"height": 480,
"caption": null
}Expected answer
{"width":640,"height":480,"caption":null}{"width":640,"height":480,"caption":null}A release note with an embedded newline
输入
{
"version": "2.1.0",
"notes": "Fixed parser\nAdded tests"
}Expected answer
{"version":"2.1.0","notes":"Fixed parser\nAdded tests"}{"version":"2.1.0","notes":"Fixed parser\nAdded tests"}An empty search result
输入
{
"results": [],
"total": 0
}Expected answer
{"results":[],"total":0}{"results":[],"total":0}Minify a 64-bit identifier without rounding
输入
{"id": 18446744073709551615, "active": true}Expected answer
{"id":18446744073709551615,"active":true}{"id":18446744073709551615,"active":true}boolean
输入
falseExpected answer
JSONfalsefalse
emptyList
输入
[
]Expected answer
JSON[][]