Damus
dorotaC · 34w
What's a good #format to serialize simple structured #data in an efficient way? I'm thinking about some binary #XML encoding. Also, #ASN.1 because it natively uses integers, not just strings. Is the ...
Steveg58 profile picture
@nprofile1q...
Roll your own XML is easy enough to write (no, it really is). But if you are doing it just for yourself go with CSV ... it can be imported to a bunch of stuff and it is even easier to roll your own code. Variable field lengths can be done in a number of ways depending on your needs.
1
dorotaC · 34w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqdxpwy9mlvdpl2904x50j4xjk3cmx8g8cecr8k96sww3dp93sshxsfl2d0f CSV doesn't work: I need my streams to be interleaved, so I'd have to create some eldritch hybrid monster. As for XML, it's a bit verbose, and doesn't have native integer types (which m...