pub fn canonical_json<T: Serialize>(value: &T) -> Vec<u8> ⓘ
The one canonical encoding of a package JSON file: pretty-printed, newline-terminated.