Skip to main content

json_to_decoded

Function json_to_decoded 

Source
fn json_to_decoded(field_type: &FieldType, value: &Value) -> Result<DecodedData>
Expand description

Converts a JSON value to a table value of the provided type.

Booleans, numbers and strings are accepted, as long as their text parses as the type.