Trait json_writer::JSONWriterValue
source · pub trait JSONWriterValue {
// Required method
fn write_json<W: JSONWriter>(self, writer: &mut W);
}Expand description
Types with this trait can be converted to JSON
Required Methods§
sourcefn write_json<W: JSONWriter>(self, writer: &mut W)
fn write_json<W: JSONWriter>(self, writer: &mut W)
Appends a JSON representation of self to the output buffer