1. 程式人生 > >go語言json格式解析與生成示例

go語言json格式解析與生成示例

    str:=`{"servers":[{"serverName":"Shanghai_VPN","serverIP":"127.0.0.1"},{"serverName":"Beijing_VPN","serverIP":"127.0.0.2"}]}`