Function wasmer_deploy_schema::schema::deserialize_json
source · pub fn deserialize_json<T>(input: &[u8]) -> Result<T, Error<Error>>where
T: DeserializeOwned,Expand description
Deserialize JSON to a given type using serde-path-to-error.
This provides better error locations on parsing failures.