Function json_api::to_writer
[−]
[src]
pub fn to_writer<W, T, U>(
writer: W,
value: T,
query: Option<&Query>
) -> Result<(), Error> where
W: Write,
T: Render<U>,
U: PrimaryData,
Render type T
as a Document<U>
and then serialize it as JSON into the
IO stream.