Skip to content

Releases: JuliaIO/JSON.jl

v1.6.0

14 May 21:08
19025cc

Choose a tag to compare

JSON v1.6.0

Diff since v1.5.2

Merged pull requests:

Closed issues:

  • Allow for serialization of complex numbers (#440)
  • JSON.parse(json, T) keys to Any instead of String (#456)

v1.5.2

30 Apr 15:52
ea41990

Choose a tag to compare

JSON v1.5.2

Diff since v1.5.1

Merged pull requests:

  • fix(parse): forward type predicates to inner style (#454) (@quinnj)

Closed issues:

  • Parsing JSON ignores StructUtils methods for custom JSONStyle (#453)

v1.5.1

28 Apr 02:47
95024e9

Choose a tag to compare

JSON v1.5.1

Diff since v1.5.0

Merged pull requests:

  • Restore AbstractString key support for JSON.Object (#450) (@quinnj)
  • feat(parse): add unknown_fields keyword (#451) (@quinnj)
  • [codex] Preserve ordered dict output by default (#452) (@quinnj)

Closed issues:

  • OrderedDict output changes on 1.4.0 -> 1.5.0 (#447)
  • SubString keys are not supported since 1.0.0 (#449)

v1.5.0

02 Apr 00:41
a3f66e6

Choose a tag to compare

JSON v1.5.0

Diff since v1.4.0

Merged pull requests:

Closed issues:

  • Unit handling in JSON@0.21 (#419)
  • Enhance compatibility with StaticArrays.jl (#429)
  • Parsing structs with computed fields (#430)
  • Example in readme is not working (#431)
  • Problems using MLFlowClient.jl with MLflow 3.9 (#432)
  • MethodError when parsing JSON with nested Union types in Tuple field (#436)
  • Feature request: sort_keys option for deterministic JSON output (#437)
  • Latest version not working on PackageCompiler in Julia 1.12 (#443)

v1.4.0

14 Jan 09:30

Choose a tag to compare

JSON v1.4.0

Diff since v1.3.0

JSON v1.4.0

New Features

  • Export @kwarg macro (#418)
  • Add cross-key-type support for Object: Object{String} now accepts Symbol keys and vice versa for getindex, setindex!, delete!, haskey, get (#420, #421)
  • Add liftkey for numeric dict key types to enable round-tripping Dict{Int,V}, Dict{Float64,V}, etc. (#423)

Fixes

  • Fix @omit_null/@omit_empty macros for parametric types (#425)
  • Fix misleading error message for lowerkey (#426)
  • Documentation improvements (#411, #416)

Merged pull requests:

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)
  • get error 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)

v1.3.0

14 Nov 14:26
0c9b900

Choose a tag to compare

JSON v1.3.0

Diff since v1.2.1

Merged pull requests:

  • Add new Null/Omit sentinels for overriding omit_null behavior per-field (#408) (@quinnj)

v1.2.1

08 Nov 07:09
ac46743

Choose a tag to compare

JSON v1.2.1

Diff since v1.2.0

Merged pull requests:

Closed issues:

  • Escape unicode character: u2028 (#309)
  • add escapes suitable for HTML embedding (#320)
  • Julia crashes with multithreaded JSON.parse (#341)
  • Serialization of Pair and Vector{Pair} returns unexpected result (#398)
  • Empty named tuple serialised incorrectly (#401)
  • JSON.parse a Vector of {"key": key, "val": value} objects into a Dict (#402)
  • isvalidjson throws an error for invalid String (#404)

v1.2.0

17 Oct 01:11
9ea65ed

Choose a tag to compare

JSON v1.2.0

Diff since v1.1.0

Merged pull requests:

  • Restore pre-1.0 compat for object Tuple keys (#400) (@quinnj)

Closed issues:

  • Error with tuple as a dictionary key (#399)

v1.1.0

11 Oct 00:30
ca00f6b

Choose a tag to compare

JSON v1.1.0

Diff since v1.0.1

Merged pull requests:

Closed issues:

  • Setting float_precision=0 or negative with float_style=:fixed or float_style=:exp creates invalid JSON (#383)
  • JSON@1 does not support 32-bit machines (#386)

v1.0.1

03 Oct 22:32
3f7d15f

Choose a tag to compare

JSON v1.0.1

Diff since v1.0.0

Merged pull requests:

Closed issues:

  • type hints (#96)
  • use_mmap leaves file open (#112)
  • parsing of arrays results in array of type Any (#139)
  • Reader generalization (#169)
  • Make indent a keyword argument? (#193)
  • JSON.parse fails for cweb/url-testing/master/urls.json (#232)
  • Add JSON.jl to nst/JSONTestSuite (#233)
  • Remove Symbol conversion (#245)
  • Errors parsing big ints (#266)
  • Failure of NST JSONTestSuite optional tests (#267)
  • Proposal: Unified JSON API (#268)
  • Testing fails (#269)
  • FileIO compatibility (#276)
  • Dense printing for long arrays (#291)
  • Lower with respect to serialization context (#299)
  • Unexpected end of input error when parsing input streams (#314)
  • check if a given String is valid json (#323)
  • Add JSON.printfile function (#325)
  • Dict written as a String (#328)
  • JSON.jl 1.0 roadmap? (#332)
  • Pass s::CS to all usage of lower for dispatch (#335)
  • JSON.parse(read(io, String)) is faster than JSON.parse(io) (#339)
  • Feature: Allow specification of full dictionary type (#340)
  • Allow for parsing multiple JSON objects in a single string/stream (#344)
  • Reconstruct object from custom serialization (#346)
  • Misaligned character/byte when throwing an error (#351)
  • Parse bytes directly (#356)
  • JSON.jl Float64 serialization (suppress scientific notation) (#367)
  • Documentation for working with DataFrames (#372)
  • Suggestion/feedback: Add documentation of how to save something to a file (#373)
  • Measurements are getting serialized incorrectly (#375)
  • 3-10x slowdown in parsing from JSON3.jl to v1 (#376)