Unescape escaped JSON strings, expand JSON stored inside strings, and turn \uXXXX escapes into real characters — all at once!
input
→
result
Unwrap the JSON in your logs!
Unescape escaped JSON strings, expand JSON stored inside strings, and turn \uXXXX escapes into real characters — all at once!
Use cases
- Reading logs and messages
- Fully unwraps JSON escaped several times, like "{\"user\":{\"id\":1}}" — handy for Kafka/SQS messages and API gateway logs.
- JSON inside string fields
- Values such as "payload": "{...}" are expanded into objects. You can turn this off.
- Unicode escapes
- Shows escapes like \u00e9 or \u4e2d as real characters.
- Whole log lines
- Ignores timestamps and levels around the JSON and picks out the JSON itself. Several values are wrapped in an array.