Just tagged a 1.0 release for JSON3.jl. Highlights include:
- Moving the core
StructType
trait 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.write
and write out asnull
themselves (likeJSON3.write(isfinite(x) ? x : nothing)
) - Dedicated documentation at Home · JSON3.jl
- Updated documentation for
StructTypes.jl
as well
As always, don’t hesitate to open an issue with questions or concerns or drop by the #data slack channel to ask.
-Jacob