优化自动生成json #3
@ -13,6 +13,7 @@ package tree
|
|||||||
//
|
//
|
||||||
// Date : 18:12 2023/3/28
|
// Date : 18:12 2023/3/28
|
||||||
type Node struct {
|
type Node struct {
|
||||||
|
IsVirtual bool // 是否虚拟节点, 主要应对输入的原始数据为list这一场景
|
||||||
Value interface{} // 节点的值
|
Value interface{} // 节点的值
|
||||||
ValueType string // 数据类型 int64 / float64 / map / list / nil
|
ValueType string // 数据类型 int64 / float64 / map / list / nil
|
||||||
Key string // 节点的key名称(输入的原始名称)
|
Key string // 节点的key名称(输入的原始名称)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user