3 ms·
All of these exist for json, and since yaml has the same object structure as json these tools can mostly be reused 1. Plain old hash maps and arrays. No specia
by bbatha 3y ago
All of these exist for json, and since yaml has the same object structure as json these tools can mostly be reused
1. Plain old hash maps and arrays. No special stuff required
2. JSON schema exists and works pretty well
3. JSON path and json patch cover this. Though because json follows a plain object model there just isn’t as much need.
Contrary to xml having clean object structure and not having to worry about using nested data or props makes all of the above easier and require fewer special tools. Additionally in the qemu example you can see problems with xml right away look at this extra “qemu:” structures, yay more stuff to parse. Then the args come in as repeated elements, are those an array or not?