base-d 3.0.34

Universal base encoder: Encode binary data to 33+ dictionaries including RFC standards, hieroglyphs, emoji, and more
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub mod json;

use crate::encoders::algorithms::schema::types::IntermediateRepresentation;

/// Trait for serializing intermediate representation to output formats
pub trait OutputSerializer {
    type Error;

    /// Serialize intermediate representation to output string
    fn serialize(ir: &IntermediateRepresentation, pretty: bool) -> Result<String, Self::Error>;
}

pub use json::JsonSerializer;