@aximario/json-tree
把扁平化的数据转换成树形结构的JSON,把树形JSON扁平化
把扁平化的数据转换成树形结构的JSON,把树形JSON扁平化
Allows you to create deeply nested object structures, while also enabling you to traverse them efficiently.
object-tree to one level object, or rollback, see README and source code for more
It provides hierarchical path of the specified property within the passed object along with its corresponding value.