Plugins>JSON repair

JSON repair

Data (things)ProductivityTechnicalAI
JSON repair
$15 once or $5/moCheck it Live

Ready to start your own project?

Book a meeting

Plugin details

Overview & Key Features

Repair invalid JSON documents.
This is a plugin designed to fix most of the most common errors in JSON documents that lead to undefined errors, such as:
SyntaxError: JSON.parse: unexpected symbol at line 2 column 18 of the JSON data.
The plugin works both on the client side and on the server side.

Features:
- The following issues can be fixed:
- Add missing quotes around keys
- Add missing escape characters
- Add missing commas
- Add missing closing brackets
- Repair truncated JSON
- Replace single quotes with double quotes
- Replace special quote characters like “...” with regular double quotes
- Replace special white space characters with regular spaces
- Replace Python constants None, True, and False with null, true, and false
- Strip trailing commas
- Strip comments like /* ... */ and // ...
- Strip fenced code blocks like ```json and ```
- Strip ellipsis in arrays and objects like [1, 2, 3, ...]
- Strip JSONP notation like callback({ ... })
- Strip escape characters from an escaped string like {\"stringified\": \"content\"}
- Strip MongoDB data types like NumberLong(2) and ISODate("2012-12-19T06:01:17.171Z")
- Concatenate strings like "long text" + "more text on next line"
- Turn newline delimited JSON into a valid JSON array, for example:
{ "id": 1, "name": "John" }
{ "id": 2, "name": "Sarah" }

Installation

1
Client: Place the "repair_client" element on the page.
2
In the workflow, use an event (e.g. clicking on the element) to trigger the "repair_client" action.
3
Pass JSON to "repair_client" to check and repair it if possible (JSON field).
4
Once the JSON code is corrected, the "repair_complete" trigger will fire and the corrected JSON code will be written to the "repaired" state.
5
Server: Place in the workflow.
6
Use the "repair_server" action.
7
Pass JSON to "repair_client" to check and repair it if possible (JSON field).
8
Once the JSON code is corrected, you can get the corrected JSON code as a result of the previous step (e.g. the result of step 1 (repair_server)'s repaired).

Need help adjusting your new application?

Contact us

Support

And if you have any questions, reach out to us at support@mindforapps.com

More plugins