摘要: 创建json对象 use serde_json::{Value, json}; let mut t = json!({}); 添加新元素 t.as_object_mut().unwrap().insert(k.to_string, Value::String(v.to_string())); 阅读全文
posted @ 2021-08-10 16:58 hziwei 阅读(609) 评论(0) 推荐(0) 编辑