#non-standard #json

handwritten-json

Convert a non-standard JSON string into a normalized JSON string

1 unstable release

0.1.0 Sep 17, 2020

#1436 in Encoding

Apache-2.0 OR MIT

10KB
230 lines

Rust-Handwritten-JSON

License Travis CI Crate Badge Crate Doc

Convert a non-standard JSON string into a normalized JSON string.

The Difference between Handwritten-JSON and JSON

  • Allow extra commas in the end of arrays and objects.
  • If a name string in a name/value pair only contains alphabetic characters, numeric characters and underscores, the double quotes can be omitted.

License

Licensed under either of Apache License, Version 2.0 or MIT License, at your option.

Dependencies

~260–730KB
~17K SLoC