Function tremor_value::structurize[][src]

pub fn structurize<'de, T>(value: Value<'de>) -> Result<T> where
    T: Deserialize<'de>, 

Returns a struct populated against the DOM value via serde deserialization

Errors

Will return Err if the DOM value cannot be deserialized to the target struct