ValueTree XML save load parameter

Recently has been working on XML and Valuetree, some experience can share here.


There are several layers of properties, each time, getChild method can return a new ValueTree.
During debug, the method following are very useful to understand your ValueTree object
bool isValid () const noexcept
int getNumChildren () const noexcept
int getNumProperties () const noexcept

Blue box: indicate of properties
Orange box: the name you will need to use to fetch the value, like “id”, “value”
Green box: the value you actually want to get back from storage

BTW, try not use space in during xml creation with ValueTree, as error will report, add “_” between the words