toy-json-formatter

Crates.iotoy-json-formatter
lib.rstoy-json-formatter
version0.3.7
sourcesrc
created_at2023-10-27 21:50:02.324921
updated_at2024-10-27 16:50:00.654985
descriptionThis is a JSON formatter that is built to be fault tolerant from the ground up. Its job is to take any input and do its best to parse it and format it as JSON.
homepage
repositoryhttps://github.com/mr-adult/JFC
max_upload_size
id1016483
size101,741
Adam Fortune (mr-adult)

documentation

https://docs.rs/toy-json-formatter/latest/toy_json_formatter/

README

toy-json-formatter

This library is a JSON parsing libary with the following goals:

  1. Adhere to the standard JSON specification and parse all valid inputs correctly.
  2. Have extreme fault-tolerance. Any input should still yield a formatted or parsed JSON value regardless of how malformed it is.
  3. All malformed JSON inputs should yield an error to signal that the input has been transformed.

This library reserves the right to change how malformed JSON is transformed back into valid JSON at any time. Calling code should not depend on the implementation details of error recovery. Changes to error recovery strategies will not be considered breaking changes under semver.

Commit count: 62

cargo fmt