dpmir1988
2015-09-08 17:55如何在Golang中将Json字符串转换为xml?
I'm trying to convert json string in to xml format using Golang. My whole object is to convert json in to map string interface and then convert interface in to xml file. (There is no predefined structs). Please help me to solve this issue?
var f interface{}
err := json.Unmarshal(b, &f)
- 点赞
- 回答
- 收藏
- 复制链接分享
1条回答
为你推荐
- 如何在Go中将XML数据转换为JSON数据?
- json
- xml
- 1个回答
- 如何在Golang中将Json字符串转换为xml?
- json
- xml
- 1个回答
- 如何在Golang中将[] byte XML转换为JSON输出
- json
- xml
- 2个回答
- 如何在golang中将数据结构作为参数传递
- it技术
- 互联网问答
- IT行业问题
- 计算机技术
- 编程语言问答
- 2个回答