标签: java json xml
<Grps> <grp1>Red<grp1/> <grp2>Green<grp2/> <grp3>Yellow<grp3> </Grps>
我想以下面的json格式转换上面的xml
"groups":{ "group1": "Red", "group2": "Green", "group3": "Yellow" }