There is json data to display them in the jquery plugin tree generator, you need to translate it into a format with an indication of id and parent id, and in almost all json visualization plugins this format is perceived by the standard.
There is such a data object
{ "product": { "recommended": { "article": "blabla", "description": [] }, "article": [], "description": [], "manufacturer": [], "images": { "custom": [], "commercial": [] }, "reviews": [] } } At the exit you need to get
[{ id: 0, parent: 0, key: "product" }, { id: 1, parent: 0, key: "recommended" }, { id: 2, parent: 1, key: "article", value: "blabla" }, ...] There were no suitable libraries for working with wood or functions on the network.