Just tagged a 1.0 release for JSON3.jl. Highlights include:
- Moving the core
StructTypetrait into a separate package StructTypes.jl, to allow further integration/re-use by other packages; what this means is that instead of overloadingJSON3.StructType(::Type{MyType}), you overloadStructTypes.StructType(::Type{MyType}) - A breaking change where
JSON3.write(NaN)will now throw an error as non-finite values (e.g.NaN,Inf, etc.) are not permitted in the JSON spec; this means code dealing w/ numbers will need to handle this before callingJSON3.writeand write out asnullthemselves (likeJSON3.write(isfinite(x) ? x : nothing)) - Dedicated documentation at Home · JSON3.jl
- Updated documentation for
StructTypes.jlas well
As always, don’t hesitate to open an issue with questions or concerns or drop by the #data slack channel to ask.
-Jacob
