Module serde::json::ser [] [src]

Structs

CompactFormatter
PrettyFormatter
Serializer

A structure for implementing serialization to JSON.

Traits

Formatter

Functions

escape_bytes
escape_str
to_string

Encode the specified struct into a json String buffer.

to_string_pretty

Encode the specified struct into a json String buffer.

to_vec

Encode the specified struct into a json [u8] buffer.

to_vec_pretty

Encode the specified struct into a json [u8] buffer.

to_writer

Encode the specified struct into a json [u8] writer.

to_writer_pretty

Encode the specified struct into a json [u8] writer.