Home > Enterprise >  Convert non-nested json to nested json suitable for tree
Convert non-nested json to nested json suitable for tree

Time:06-19

For example,I have a json

[{name:func1,children:func},{name:func2,children:func},{name:main,children:[func1,func2,fun3]}

if I use this json to draw picture, I will got a picture like this enter image description here

  • Related