Mirror of
forum.nim-lang.org
index
6229 :: Does Nim have a binary serializer similar to Gos "encoding/gob"?
[2020-04-18T00:14:38+02:00]
View Orginal
Keithcat1
(orginal)
[2020-04-18T00:14:38+02:00]
view original
Hi, I'm looking for a binary serializer that will hopefully allow newer versions of my program that for example add new fields to a type to still load data created by older versions of that same program. Is there anything like that? Thanks!
Araq
(orginal)
[2020-04-18T09:25:24+02:00]
view original
There is
https://github.com/JohnAD/bson
and maybe other Nimble packages for that. Though I personally would use a database...