[−][src]Function holochain_json_api::json::default_try_from_json
pub fn default_try_from_json<D: DeserializeOwned>(
json_string: JsonString
) -> Result<D, JsonError>
if all you want to do is implement the default behaviour then use #[derive(DefaultJson)]
standard boilerplate should include JsonError as the Error:
impl TryFrom