Function extract

Source
pub fn extract<T>(value: &Value, path: &[PathElement], default: T) -> T
where T: Clone + for<'de> Deserialize<'de>,
Expand description

主要的提取函数:通过路径提取值(带类型转换和默认值)