pub fn from_slice(bytes: &[u8], ty: &Type) -> Result<Value, Error>
Decode a JSON document (UTF-8 bytes) into a stmt::Value of type ty.
stmt::Value
ty