Summary
json-abnf discards empty objects, strings and arrays
Metadata
- Id: 9a8576de48830f499425b8686552d634ec13c783
- Trac id: 514
- Type: defect
- Reporter: syn
- Owner: iraikov
- Cc:
- Status: closed
- Component: extensions
- Estimated difficulty:
- Resolution: fixed
- Priority: major
- Milestone: 4.9.0
- Version: 4.6.x
- Changetime: 2012-09-24 21:47:48 UTC
- Created: 2011-02-20 05:06:58 UTC
- Keywords: json-abnf
Description
Empty objects, strings and arrays (i.e. {}, "" and []) are completely dropped by the json-abnf parser. For example, the JSON document [[[{}]|], \"\"] is parsed as the empty list. Also, given an array with more than two elements and an empty object/string/array at some position other than the first leads to a parsing error.
Changes and comments
[2011-02-20 08:17:58 UTC] iraikov changed status from new to closed
[2011-02-20 08:17:58 UTC] iraikov set resolution to fixed
[2011-02-20 08:17:58 UTC] iraikov wrote:
Fixed in json-abnf release 3.2
[2011-06-01 09:00:41 UTC] felix changed milestone from 4.7.0 to 4.8.0
[2011-06-01 09:00:41 UTC] felix wrote:
Milestone 4.7.0 deleted
[2012-09-24 21:47:48 UTC] felix changed milestone from 4.8.0 to 4.9.0
[2012-09-24 21:47:48 UTC] felix wrote:
Milestone 4.8.0 deleted