Module serde_hjson::ser
source · [−]Expand description
Hjson Serialization
This module provides for Hjson serialization with the type Serializer.
Structs
A structure for serializing Rust values into Hjson.
Traits
This trait abstracts away serializing the JSON control characters
Functions
Serializes and escapes a &[u8] into a Hjson string.
Serializes and escapes a &str into a Hjson key.
Serializes and escapes a &str into a multiline Hjson string.
Serializes and escapes a &str into a Hjson string.
Encode the specified struct into a Hjson String buffer.
Encode the specified struct into a Hjson [u8] buffer.
Encode the specified struct into a Hjson [u8] writer.