Skip to main content

deserialize_external_value

Function deserialize_external_value 

Source
pub fn deserialize_external_value<T, F>(
    raw: Value,
    label: &str,
    shape_error: F,
) -> Result<T, DagMlError>
Expand description

Deserialize a public contract that has already crossed a structured host boundary (for example a Python mapping), while preserving the same object/array rules as deserialize_external_contract.