Function convert_from_json

Source
pub fn convert_from_json<'a, T>(json_str: &'a str) -> Result<T>
where T: Deserialize<'a>,
Expand description

文字列を JSON としてパースし、T 型に変換する。

変換エラーが発生した場合はエラーにソース文字列を付加する。