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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".