v1.0.0
JSON v1.0.0
Breaking changes
show_json, Context and Serialization overloads have been removedinttypekeyword argument has been removed fromJSON.parse
New functionality
JSON.parse(json, T)now supports passing a type to parse the json as (similar to JSON3.jl-type functionality)JSON.parsenow supports additional keyword arguments:allownan,ninf,inf,nan,jsonlines,dicttype,null, andstyle. See?JSON.parsedocstring for details on these new keyword arguments.JSON.parsewill now return aJSON.Objectby default, which is a mutable, key-order-preserving drop-inDictreplacement that supports dot-access for keysJSON.lazyis a new function that allows for lazily accessing deeply nested properties of json objects/arraysJSON.isvalidjsonis a new function to check that input json is actually valid jsonJSON.jsonnow supports additional keyword arguments:omit_null,omit_empty,allownan,jsonlines,pretty,ninf,inf,nan,float_style,float_precision, andstyle. See?JSON.jsondocstring for more details on these.
Merged pull requests:
- See alternative package JSON3 (#333) (@PallHaraldsson)
- enable dependabot for GitHub actions (#353) (@ranocha)
- fix typos (#358) (@musvaage)
- Bump codecov/codecov-action from 1 to 3 (#360) (@dependabot[bot])
- Bump actions/checkout from 2 to 4 (#361) (@dependabot[bot])
- Bump julia-actions/setup-julia from 1 to 2 (#364) (@dependabot[bot])
- Remove false statement about Serde.jl (#368) (@giordano)
- [BREAKING] Package rewrite for a 1.0 release (#374) (@quinnj)
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)