支持非整齐的list

This commit is contained in:
2021-03-12 23:28:28 +08:00
parent 5939795603
commit df00e13602
2 changed files with 42 additions and 8 deletions

View File

@ -26,5 +26,6 @@ func TestJSON(t *testing.T) {
tree.SetValue("slice.[0].name", "zhang")
tree.SetValue("slice.[1].name", "de")
tree.SetValue("slice.[2].name", "man")
tree.SetValue("slice.[3]", "zhangdeman")
fmt.Println(tree.String())
}