json-packer 0.1.0

Reversible JSON binary compression/decompression library with Huffman-encoded keys and optional string value pooling
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use json_packer::Error;

#[test]
fn error_variants_debug() {
    // ensure variants exist and are constructible
    let _ = Error::IllegalFloat;
    let _ = Error::BitstreamOutOfBounds;
    let _ = Error::VarintError;
    let _ = Error::BadMagic;
    let _ = Error::BadVersion;
    let _ = Error::HuffmanError;
}