Skip to main content

from_value

Function from_value 

Source
pub fn from_value(value: &Value, group_name: &str) -> Vec<u8> ⓘ
Expand description

Emit a Value tree as canonical C0DATA bytes. An object of groups becomes groups (one key wrapping an object of groups becomes a file); an array becomes one group named group_name; an object of scalars one group holding one map; a scalar one record.