3 ms·
This: | Always "seemed" a lot cleaner to me. I dont see why it doesnt accomodate SQL just fine. JSON was never intended primarily for user readability. It
by pydry 4y ago
This: |
Always "seemed" a lot cleaner to me.
I dont see why it doesnt accomodate SQL just fine.
JSON was never intended primarily for user readability. It's for sending data over a wire. Its focus was on parsing simplicity, ease of serialization and deserialization and to be incidentally readable.
- guiriduro 4y agoOnly works well if your text is a leaf and has no other contained entities/structure. <entity attr="whatever">Try to make this <appearance>look good</appearance> in <markup>YAML</markup></entity> As I said, horses for courses. FWIW I actually like YAML for certain limited use cases, just not where XML is better. And vice versa.
- pydry 4y agoentity: attr: whatever text: |- Try to make this *look good* in **YAML**. ^ I have quite a lot of YAML hanging around these days like this. Markdown is surprisingly effective as an XML document markup replacement.