Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![docs.rs](https://docs.rs/canon-json/badge.svg?version=latest)](https://docs.rs/canon-json)
[![Crates.io](https://img.shields.io/crates/v/canon-json.svg)](https://crates.io/crates/canon-json)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fbootc-dev%2Fcanon-json-rs.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fbootc-dev%2Fcanon-json-rs?ref=badge_shield)

This crate provides a [`serde_json::Formatter`](https://docs.rs/serde_json/latest/ser/trait.Formatter.html) to serialize data in canonical JSON form as defined by [RFC 8785](https://www.rfc-editor.org/rfc/rfc8785).

Expand All @@ -21,3 +22,7 @@ assert_eq!(buf, br#"{"a":"qwerty","b":12}"#);
This repository was originally forked from <https://github.com/engineerd/cjson> as it is unmaintained.
But it ended up being redesigned to use the "formatter" approach that is used by
[olpc-cjson](https://docs.rs/olpc-cjson).


## License
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fbootc-dev%2Fcanon-json-rs.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fbootc-dev%2Fcanon-json-rs?ref=badge_large)