Struct serde_json::ser::CompactFormatter [] [src]

pub struct CompactFormatter;

This structure compacts a JSON value with no extra whitespace.

Trait Implementations

impl Formatter for CompactFormatter

fn open<W>(&mut self, writer: &mut W, ch: u8) -> Result<()> where W: Write

fn comma<W>(&mut self, writer: &mut W, first: bool) -> Result<()> where W: Write

fn colon<W>(&mut self, writer: &mut W) -> Result<()> where W: Write

fn close<W>(&mut self, writer: &mut W, ch: u8) -> Result<()> where W: Write