移除冗余代码

This commit is contained in:
2022-07-05 14:05:57 +08:00
parent 8d2e9c93ae
commit aea79b341c
2 changed files with 8 additions and 14 deletions

View File

@ -32,6 +32,7 @@ func Test_parseLexical(t *testing.T) {
]
}`
//jsonData = `{"name":"zhangsan","age":"18","extension":{"sex":"man","height":"180"},"teacher_list":[{"name":"t1","age":"11"},{"name":"t2","age":"12"}]}`
r, _ := NewLexical(jsonData).Parse(jsonData)
for _, val := range r {
fmt.Print(val.Val)