前提是我需要解析文件中通过python dumps进去的数据。
y := "['39.08|110.76,39.09|110.76,39.10|110.77,39.09|110.77,39.08|110.75','39,31,22,21,19']"
解析方法:
var s []string
([]byte(y), &s)
前提是我需要解析文件中通过python dumps进去的数据。
y := "['39.08|110.76,39.09|110.76,39.10|110.77,39.09|110.77,39.08|110.75','39,31,22,21,19']"
解析方法:
var s []string
([]byte(y), &s)