A JSON repair tool takes in a JSON string and repairs it, fixing any syntax errors and formatting it properly.
Use Ctrl + k + "Tools" to quickly access all tools.
This tool is capable of resolving the following JSON issues:
Quote Issues:
Escape Characters:
{"stringified": "content"}
.Syntax & Structure:
/* ... */
and // ...
.callback({ ... })
.Special Characters & Values:
None
, True
, and False
) with their respective JSON values (null
, true
, and false
).NumberLong(2)
and ISODate("2012-12-19T06:01:17.171Z")
.String Concatenation:
"long text" + "more text on next line"
.Transformations:
{ "id": 1, "name": "John" }
{ "id": 2, "name": "Sarah" }
will be transformed to:
[
{ "id": 1, "name": "John" },
{ "id": 2, "name": "Sarah" }
]
Feedback or suggestions? Send it to [email protected]
Install with https://npmjs.com/:
jsonrepair
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].