Skip to main content

deserialize

Function deserialize 

Source
pub fn deserialize(value: &mut Value) -> Result<()>
Expand description

Converts RFC 3339 and nanosecond strings in timestamp fields to nanosecond integers.

Rewrites nested objects and arrays in place. Timestamp strings require Z or a numeric UTC offset. Preserves strings that do not parse as timestamps. Preserves exec_algorithm_params and the info maps in OrderFilled and OrderFillVoided.

ยงErrors

Returns an error if a parsed timestamp is outside the unsigned nanosecond range.