Skip to main content

attrs_to_metadata_object

Function attrs_to_metadata_object 

Source
pub fn attrs_to_metadata_object<'a, I>(attrs: I) -> Value
where I: IntoIterator<Item = (&'a str, Value)>,
Expand description

Build a sanitized JSON object from key/value attributes while enforcing field limits.