Trait gron::ToGron [] [src]

pub trait ToGron {
    fn to_gron<W: Write>(&self, out: &mut W, prefix: &str) -> Result<()>;
}

An (internal) interface to gronify of json like data types

You probably should not implement it yourself, it's here just to unify serde and rustc_serialize json structure.

Required Methods

Write gron style representation of self to out with prefix in front of.

Returns () when write to out was successful.

Implementors