I’ve found myself needing to add a vector of std::pairs to a ValueTree.
I’d like to have a property on the tree “Pairs” which holds this data.
Anyone able to shed some light on how on earth I go about this ? Racking my brains.
So essentially a property in the tree with following structure:
<Pairs> <pair> <first> 1 </first> <second> 2 </second> </pair> <pair> <first> 3 </first> <second> 4 </second> </pair> </Pairs>
Whats gonna be the cleanest way to do this ? Sorry guys, first attempts at using the ValueTree stuff.