1K Star 3.8K Fork 727

AnyLine / anyline

 / 详情

关于DataRow parse xml与parse json区别

已完成
拥有者
创建于  
2019-10-22 23:24

**json结构相对简单每一对key value可以直接存入DataRow **
{name:zhang,age:20}
对应:
row.put("name","zhang");
row.put("age",20);

但xml比json多了一个attribute,但attribute不直接存入DataRow

zhang

对应:
user.attr("id","1");
user.put("name","zhang");
同样取值时也通过user.attr("id");

评论 (0)

AnyLine 创建了任务
AnyLine 任务状态待办的 修改为已完成
展开全部操作日志

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(1)
580913 anyline 1578928261
Java
1
https://gitee.com/anyline/anyline.git
git@gitee.com:anyline/anyline.git
anyline
anyline
anyline

搜索帮助