golang 根据 json path 提取字段值
摘要:在Golang中,可以使用github.com/tidwall/gjson包来根据JSON路径提取字段值。 package main import ( "fmt" "github.com/tidwall/gjson" ) func main() { jsonStr := ` { "name": "J
阅读全文
posted @ 2023-11-24 15:50
posted @ 2023-11-24 15:50
posted @ 2023-11-14 21:46