移除冗余代码
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user