简单示例
let data = r#"
{
"project": {
"name": "ajson",
"maintainer": "importcjj",
"version": 0.1,
"rusts": ["stable", "nightly"]
}
}
"#;
let name = ajson::get(data, "project.name");
println!("{}", name.as_str()); // ajson
详情可以看项目介绍
1
共 0 条评论, 1 页
评论区
写评论还没有评论