I love how the CommonMark Spec has a test suite that's just a JSON array. It's really easy to test a library for compliance, and I've seen developers nerd-sniped into full compliance.
https://spec.commonmark.org/0.31.2/spec.json
Wilfred Hughes
2 Comments
@wilfredh Any open standard should come with a test suite. Kudos to them!
I think JSON vs XML is a strange dichotomy. Both can be processed by machines, but they're very different.
I've seen XML work really well for dictionary data. You want to mark up text:
A dog is a domesticated <group>animal</group>.
In other words JSON : CSV :: XML : HTML.