deser-json5
JSON5 support for
deser. JSON5 extends JSON with
comments, trailing commas, identifiers as map keys, single quoted strings,
hexadecimal numbers, Infinity, NaN and more.
let config: Config = from_str.unwrap;
assert_eq!;
assert_eq!;
Otherwise it works like deser-json, which
is also used to serialize (JSON is valid JSON5). The parser is generated
from the one of deser-json (see deser-template-json in the
repository).