Crates.io | serde_json_lenient |
lib.rs | serde_json_lenient |
version | 0.2.4 |
source | src |
created_at | 2022-03-08 16:39:20.075127 |
updated_at | 2024-12-10 21:55:04.067107 |
description | A lenient JSON serialization file format |
homepage | |
repository | https://github.com/google/serde_json_lenient |
max_upload_size | |
id | 546455 |
size | 583,835 |
This is a lenient JSON parser forked from the serde_json crate that is that is designed to parse JSON written by humans (e.g., JSON config files). This means that it supports:
/*
and //
style comments.\v
and \xDD
literal escapes (for vertical tab and
two-digit hexadecimal characters)Each such feature is switchable.
Earlier work to make serde_json
more lenient was performed
by Michael Bolin as the crate serde_jsonrc.
This crate builds on his work and updates to more recent [serde_json].
serde_json
more lenient?The maintainer wanted to keep the
scope of serde_json
limited to strict JSON,
so we respectfully agreed that forking was the way to go.
Because serde_json_lenient is a fork of serde_json, it maintains the original licence, which means it is licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in serde_json_lenient by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.