#What is the best way to serialize zig data structures?

1 messages · Page 1 of 1 (latest)

broken cipher
#

Lets say I have some structs with nullable and regular fields that are both primitives and other structs,
and also some ArrayLists that hold all of that data

What would be the best way to go about serializing that everything,
such that it can later be easily deserialized back into the same data structures?

crystal nebula
broken cipher
#

doesn't need to be json either, could be binary

crystal nebula
#

okay I mean that's pretty vague

#

but there's std.json, if that fits your requirements

broken cipher
#

I just want something that is not a pain to use and generate