JSON 최소화

불필요한 코드 서식을 제거하며 결과는 압축 파일이 아닌 텍스트입니다.

입력: 텍스트결과: 텍스트

텍스트 입력

실행하면 결과가 표시됩니다

예제

A support ticket with a zero-prefixed identifier

입력

{
    "ticket": "00123",
    "priority": "high"
}

Expected answer

{"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}
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"}
A safe webhook retry policy

입력

{
    "timeoutMs": 5000,
    "retries": 2,
    "enabled": true
}

Expected answer

{"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}
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"}
An empty search result

입력

{
    "results": [],
    "total": 0
}

Expected answer

{"results":[],"total":0}
Minify a 64-bit identifier without rounding

입력

{"id": 18446744073709551615, "active": true}

Expected answer

{"id":18446744073709551615,"active":true}
boolean

입력

false

Expected answer

JSON
false
emptyList

입력

[
 
  	]

Expected answer

JSON
[]

관련 도구

코드 정리

작업 참고 자료

원본 기술 문서 보기 (English)