增加JSON关键词定义

This commit is contained in:
2023-03-28 18:39:05 +08:00
parent 99a5bb1888
commit a3b7072672
2 changed files with 26 additions and 1 deletions

View File

@ -15,7 +15,7 @@ package tree
type Node struct {
IsVirtual bool // 是否虚拟节点, 主要应对输入的原始数据为list这一场景
Value interface{} // 节点的值
ValueType string // 数据类型 int64 / float64 / map / list / nil
ValueType string // 数据类型 string / int64 / float64 / map / list / nil
Key string // 节点的key名称(输入的原始名称)
Show bool // 节点是否可见
ShowKey string // 重新序列化后, 对外输出的Key