I have searched for a way to serialise and deserialise julia structs that is not JLD2.jl based, and where users don’t have to know the original struct to pass it as an argument to StructUtils.jl. I haven’t found a package that does this so I made a tiny one. Its only dependencies are JSON.jl and StructUtils.jl. It works by registering the types you’d like to serialise/deserialise (for example walking through the types defined by a package) and calling to_json or from_json to serialise and deserialise instances of your structs.
Before registering it i’d like to know if there is already something that does this so i don’t pollute the general registry with a package that does the same thing as another one.