| Crates.io | partial-json-fixer |
| lib.rs | partial-json-fixer |
| version | 0.5.3 |
| created_at | 2024-11-21 18:37:51.789689+00 |
| updated_at | 2024-11-26 19:06:34.423765+00 |
| description | Partial JSON fixer fixes partial JSON |
| homepage | |
| repository | https://github.com/maheshbansod/partial-json-fixer |
| max_upload_size | |
| id | 1456545 |
| size | 23,648 |
This is a zero dependency partial json fixer. It is very lenient, and will accept some erroneous JSON too. For example, {key: "value"} would be valid.
This can be used to parse partial json coming from a stream.
This is available on crates.io as partial-json-fixer
cargo add partial-json-fixer
The fix_json function accepts a partial json string and returns a complete json string.