4 ms·
JSON can be translated into a structure of arrays, maps and primitive types. It can be traversed with functional programming. That matches 100% the skillset/mi
by lolive 3y ago
JSON can be translated into a structure of arrays, maps and primitive types.
It can be traversed with functional programming.
That matches 100% the skillset/mindset of developpers.
Whereas XML has too many quirks and tricks, that it requires a dedicated API [aka DOM API] that you must learn and master.
XPath is the tool of choice for XML traversal. VERY versatile and super readable, but it cannot beat the ultimate flexibility of the functional programming.