bincode-next 3.1.1

A compact, ultra-fast binary serialization format for Rust, optimized for networking and storage!
Documentation
1
2
3
4
5
6
7
8
9
10
#[cfg(feature = "serde")]
#[test]
fn test_deserialize_any_serde_json() {
    use serde_json::Value;

    let config = bincode_next::config::standard();

    let result: Result<(Value, _), _> = bincode_next::serde::borrow_decode_from_slice(&[0], config);
    println!("{:?}", result);
}