2 unstable releases

0.8.0 Feb 19, 2022
0.7.0 Feb 13, 2022

#1398 in Encoding

28 downloads per month

Apache-2.0

155KB
3K SLoC

deser-debug

Utility crate for deser to serialize serializables to std::fmt debug format.


lib.rs:

Parse and serialize JSON compatible with deser.

This library is very bare bones at this point and not at all optimized. It is based on microserde which in turn is based on miniserde to achieve the most minimal implementation of a serializer and serializer.

let vec: Vec<u64> = deser_json::from_str("[1, 2, 3, 4]").unwrap();
let json = deser_json::to_string(&vec).unwrap();

By default this crate has no dependency crates other than deser, but optionally the speedups feature can be enabled in which case this also uses ryu and itoa crates are used for number formatting.

Dependencies