#json #serde-json #canonicalization #scheme #serialization #byte #jcs

serde_json_canonicalizer

JSON Canonicalization Scheme (JCS - RFC 8785) implementation

1 unstable release

0.2.0 Jun 29, 2023
0.1.0 May 22, 2023

#1305 in Encoding

Download history 197/week @ 2024-01-09 90/week @ 2024-01-16 125/week @ 2024-01-23 379/week @ 2024-01-30 230/week @ 2024-02-06 262/week @ 2024-02-13 269/week @ 2024-02-20 187/week @ 2024-02-27 100/week @ 2024-03-05 244/week @ 2024-03-12 254/week @ 2024-03-19 304/week @ 2024-03-26 381/week @ 2024-04-02 151/week @ 2024-04-09 189/week @ 2024-04-16 447/week @ 2024-04-23

1,181 downloads per month
Used in golem-certificate

MIT license

26KB
567 lines

Crates.io Workflow Status Maintenance

serde_json_canonicalizer

Serde JSON Canonicalization

JSON Canonicalization Scheme RFC-8785 defines a JSON serialization scheme to allow using JSON data in cryptographic operations that rely byte level reproduction of data. It can be used instead of storing the serialized format as a BASE64 encoded string or similar packaging, allowing easier handling of JSON formatted data that can be canonicalized before feeding it to a cyrptographic function.

License

Licensed under MIT license (LICENSE or https://opensource.org/licenses/MIT)

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as above, without any additional terms or conditions.

Dependencies

~0.5–1MB
~20K SLoC