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