我正在尝试将复杂的json渲染到jstree中。但是由于某种原因,jstree不接受我的json。我的JSON如下。请告诉我如何用此json制作树。我已经尝试过使用基本的JSON数据,但是需要这样做。当我嵌套孩子时,它似乎会失败。我已经将这些数据输入到JSTree中,但未呈现任何内容。
~/.config/monitors.xml
在此json之后,我正尝试使用;
$ ls -l ~/bin
# if you don't have this directory then create it - do not be logged in as root here.
$ mkdir /home/$USER/bin
$ echo $PATH
# should show /home/username/bin if the dir existed or if you had to create.
$ wget -P ~/bin https://raw.githubusercontent.com/alextomko/monitors/master/monitors
$ chmod +x ~/bin/monitors
# Log out, lock, reboot or whatever it takes to make monitor settings lost for you and run the script.
$ monitors