JSON v1.4.0
JSON v1.4.0
New Features
- Export
@kwargmacro (#418) - Add cross-key-type support for
Object:Object{String}now acceptsSymbolkeys and vice versa forgetindex,setindex!,delete!,haskey,get(#420, #421) - Add
liftkeyfor numeric dict key types to enable round-trippingDict{Int,V},Dict{Float64,V}, etc. (#423)
Fixes
- Fix
@omit_null/@omit_emptymacros for parametric types (#425) - Fix misleading error message for
lowerkey(#426) - Documentation improvements (#411, #416)
Merged pull requests:
- Update documentation (#411) (@hyrodium)
- Bump actions/checkout from 5 to 6 (#413) (@dependabot[bot])
- Fix reading example of FrankenStruct (#416) (@simsurace)
- export
@kwargmacro (#418) (@hyrodium) - Fix getindex(::Object{String}, ::Symbol) and vice versa (#420) (@hhaensel)
- support both String and Symbol keys for all dict-operations on Objects (#421) (@hhaensel)
- Add liftkey for numeric dict key types (#423) (@quinnj)
- fix @omit_null/@omit_empty macros for parametric types (#425) (@quinnj)
- Fix misleading error message for lowerkey (#426) (@quinnj)
Closed issues:
- Parsing result of numbers depends on
allownan(#397) - The documentations for v1.x are not deployed (#409)
- Advanced Example: The FrankenStruct in the documentation throws an error (#410)
geterror when key not found (#412)- Unhelpful error message for
lowerkey(#414) - missing feature or unclear docs? (#417)
- Non-string Dict keys - regression from JSON3.jl (#422)
- Can't parse into BigInt (#424)