JsonOutput

Trait JsonOutput 

Source
pub trait JsonOutput {
    // Required method
    fn write(&self, value: Value);
}
Expand description

Something that can be used to write output from a JsonLayer.

Primarily intended to allow custom outputs in unit testing.

Required Methods§

Source

fn write(&self, value: Value)

Implementors§