Summary

json-abnf discards empty objects, strings and arrays

Metadata

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