Skip to main content

machine

Function machine 

Source
pub fn machine<T: Serialize>(
    value: &T,
    format: Format,
) -> Result<String, RenderError>
Expand description

Serialise a value in whichever machine format was asked for.

text is not handled here: it is per-entity and lives in text.