jsonway::array_serializer

Trait ArraySerializer

Source
pub trait ArraySerializer {
    // Required method
    fn build(&self, _: &mut ArrayBuilder);

    // Provided methods
    fn root(&self) -> Option<&str> { ... }
    fn meta(&self) -> Option<ObjectBuilder> { ... }
    fn serialize(&mut self, include_root: bool) -> Value { ... }
}

Required Methods§

Source

fn build(&self, _: &mut ArrayBuilder)

Provided Methods§

Source

fn root(&self) -> Option<&str>

Source

fn meta(&self) -> Option<ObjectBuilder>

Source

fn serialize(&mut self, include_root: bool) -> Value

Implementors§