Unironically XML. >easy to validate with XSD >mature, robust ecosystem of standards around it (XPath, XQuery, XSLT, etc.) >supports comments >supports literal data (via CDATA) when escaping shit would be inconvenient >can represent DAGs or even arbitrary graph structures w/ idrefs -- the other formats (yaml/toml/json) can only represent tree data >choice between modeling something as attribute or child nodes >namespaces >self-describing (DOCTYPEs, charset declarations, schema references, etc.)
What the fuck
>data serialization
MsgPack or Protobuf
yaml, toml, json are not serialization formats.
protobuf
/misc/ has rotted my brain because my first thought it looked like a merchant..
you're seeing things that aren't there. stop noticing things.
I fell for the Clojure meme, so I use .edn for everything now
That's a nice color scheme, mind sharing the palette?
https://github.com/doomemacs/themes/blob/master/themes/doom-outrun-electric-theme.el
Unironically, FASTA, the >memetext format.
yaml for input/read and json for else
.env or ini
custom, optimized for the task at hand
I like yaml because I can easily pull shit from it with awk
joke's on you, it was modelled on perl's core data types
I know
I prefer XML sirs, btw Im indian how could you tell?
Unironically XML.
>easy to validate with XSD
>mature, robust ecosystem of standards around it (XPath, XQuery, XSLT, etc.)
>supports comments
>supports literal data (via CDATA) when escaping shit would be inconvenient
>can represent DAGs or even arbitrary graph structures w/ idrefs -- the other formats (yaml/toml/json) can only represent tree data
>choice between modeling something as attribute or child nodes
>namespaces
>self-describing (DOCTYPEs, charset declarations, schema references, etc.)
serialization is for plebs, memcpy and cast from void like a man
The only human-readable serialization format I can stand is CSV
I fucking hate YAML with all my heart. It's the most disgusting, useless piece of shit ever.
I normally use JSON.
Serializable
Raw PHP associative array code
Json
i dont care, serde is doing the work noob
raw structs like every white male should