Skip to main content

from_slice

Function from_slice 

Source
pub fn from_slice(bytes: &[u8], ty: &Type) -> Result<Value, Error>
Expand description

Decode a JSON document (UTF-8 bytes) into a stmt::Value of type ty.