4 ms·
I'm not a big fan of manually producing JSON. It seems like the wrong format to develop what is effectively a markup language/minimal programming language in.
by treve 10y ago
I'm not a big fan of manually producing JSON. It seems like the wrong format to develop what is effectively a markup language/minimal programming language in.
XML actually seems like a better fit in this case.
- zeveb 10y agoRather than XML or JSON, I think S-expressions would be better. Consider the example: { "$jason": { "head": {...}, "body": { "sections": [{ "items": [ { "type": "image", "url": "..." }, { "type": "label", "text": "..." }, ... ] }] } } } In S-expressions, it would be: ($json (head …) (body (sections (items (image …) (label …))))) I think that's preferable.