增减 "与:之间无效空格过滤
This commit is contained in:
@ -13,7 +13,7 @@ import (
|
||||
|
||||
func Test_parseLexical(t *testing.T) {
|
||||
jsonData := `{
|
||||
"name":"zhangsan",
|
||||
"name" :"zhangsan",
|
||||
"age":"18",
|
||||
"extension":{
|
||||
"sex":"man",
|
||||
@ -31,5 +31,5 @@ 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"}]}`
|
||||
parseLexical(jsonData)
|
||||
NewLexical(jsonData).Parse(jsonData)
|
||||
}
|
||||
|
Reference in New Issue
Block a user