fn try_convert_to_expected_type<T>(
value: T,
expected_type: &JsonNativeType,
) -> Result<JsonVariant>where
T: Into<JsonVariant>,Expand description
Helper function to try converting a value to an expected type
fn try_convert_to_expected_type<T>(
value: T,
expected_type: &JsonNativeType,
) -> Result<JsonVariant>where
T: Into<JsonVariant>,Helper function to try converting a value to an expected type