dpmir1988
dpmir1988
2015-09-08 17:55

如何在Golang中将Json字符串转换为xml?

  • xml
  • json

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条回答

为你推荐