[][src]Module yew::format

Utility module to convert data to types and back by specific formats like: JSON, BSON, TOML, YAML, XML.

All types here are lazy and it's necessary to use Into and From traits to get (convert) the data.

Re-exports

pub use self::bincode::Bincode;
pub use self::json::Json;
pub use self::nothing::Nothing;

Modules

bincode

Contains an implementation of Bincode serialization format.

json

Contains an implementation of JSON serialization format.

macros

Contains three macros for wrapping serde format. Collectively they allow you to define your own text and binary wrappers.

nothing

Contains an implementation of empty serialization format (Nothing).

Enums

FormatError

Represents formatting errors.

Type Definitions

Binary

A representation of a value which can be stored and restored as a binary.

Text

A representation of a value which can be stored and restored as a text.