Skip to content

Releases: JuliaIO/JSON.jl

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)

v1.0.0

03 Oct 07:46
c387fe3

Choose a tag to compare

JSON v1.0.0

Diff since v0.21.4

Breaking changes

  • show_json, Context and Serialization overloads have been removed
  • inttype keyword argument has been removed from JSON.parse

New functionality

  • JSON.parse(json, T) now supports passing a type to parse the json as (similar to JSON3.jl-type functionality)
  • JSON.parse now supports additional keyword arguments: allownan, ninf, inf, nan, jsonlines, dicttype, null, and style. See ?JSON.parse docstring for details on these new keyword arguments.
  • JSON.parse will now return a JSON.Object by default, which is a mutable, key-order-preserving drop-in Dict replacement that supports dot-access for keys
  • JSON.lazy is a new function that allows for lazily accessing deeply nested properties of json objects/arrays
  • JSON.isvalidjson is a new function to check that input json is actually valid json
  • JSON.json now supports additional keyword arguments: omit_null, omit_empty, allownan, jsonlines, pretty, ninf, inf, nan, float_style, float_precision, and style. See ?JSON.json docstring for more details on these.

Merged pull requests:

Closed issues:

  • performance benchmarks (#59)
  • question: JSON.json(array) (#93)
  • Throw exceptions on unknown/unreasonable types (#108)
  • Revise MemoryParserState (#235)
  • Support JSON schema (#238)
  • Reading past end of JSON data in a stream (#239)
  • a little too much enthusiasm for unpacking objects without a JSON representation (#277)
  • Parsing a dubious JavaScript/JSON file (#292)
  • JOSN.print throws StackOverflow error (#334)
  • parsefile: Windows unlink permission denied (#347)
  • typos (#357)
  • Why this json string cannot be parsed? (#365)

v0.21.4

12 Apr 15:14
0f0684c

Choose a tag to compare

JSON v0.21.4

Diff since v0.21.3

Closed issues:

  • Use random port during testing (#349)
  • Detect circular dependencies while printing JSON (#354)

Merged pull requests:

  • Update doc with correct parameterized function syntax (#336) (@o314)
  • Introduce a recursive cycle check when writing (#345) (@quinnj)
  • Use listenany for async tests; fixes #349 (#350) (@quinnj)
  • Fix outdated grammar in "Documentation" in README.md (#352) (@singularitti)
  • Bump version for new release (#355) (@quinnj)

v0.21.3

11 Feb 12:40
4b74867

Choose a tag to compare

JSON v0.21.3

Diff since v0.21.2

Merged pull requests:

v0.21.2

05 Aug 09:36
f93688a

Choose a tag to compare

JSON v0.21.2

Diff since v0.21.1

Closed issues:

  • JSON.parsefile does not read entire file (#316)
  • failure to parse key/value strings containing $ character (#318)
  • When is JSON.jl going to get to 1.0 ? (#322)
  • Async test failing locally with connection refused (#324)

Merged pull requests:

v0.21.1

07 Sep 15:02
2987b15

Choose a tag to compare

JSON v0.21.1

Diff since v0.21.0

Closed issues:

  • Update Julia version badge to 1.X (#271)
  • Can't serialize empty NamedTuple (#279)
  • Tag a 1.0.0 (#283)
  • Tests fail on nightly build Julia (#294)
  • Error parsing very precise float (#296)
  • Issue converting JSON message to Julia string. (#297)
  • Document custom serialization (#298)
  • Tag 0.20.1 is lower than 0.21.0 (#304)
  • Options for returning arrays (#308)

Merged pull requests: