diff --git a/gjson_hack/define.go b/gjson_hack/define.go index bf9fb3c..9e5426c 100644 --- a/gjson_hack/define.go +++ b/gjson_hack/define.go @@ -31,7 +31,7 @@ type PathResult struct { } const ( - ArrayIdxTpl = "{{idx}}" + ArrayIdxTpl = "[]" ) // ExpendArrayResult 展开数组的结果