#What is the best way to serialize zig data structures?
1 messages · Page 1 of 1 (latest)
many approaches, depending on your needs. do you want human-readable? what are your performance constraints? does it need to work across different machines? does it need to be forwards-compatible? backwards-compatible? etc etc
similar to gltf files, except I don't need the data to be compressed or anything
doesn't need to be json either, could be binary
okay I mean that's pretty vague
but there's std.json, if that fits your requirements
it's vague because I have no requirements really
I just want something that is not a pain to use and generate