encode_json_value_with_context

Function encode_json_value_with_context 

Source
fn encode_json_value_with_context<'a>(
    json: Value,
    expected_type: Option<&ConcreteDataType>,
    context: &JsonContext<'a>,
) -> Result<(Value, ConcreteDataType), Error>
Expand description

Helper function to encode a JSON value to a Value and determine its ConcreteDataType with context