Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#514 closed defect (fixed)

json-abnf discards empty objects, strings and arrays

Reported by: Moritz Heidkamp Owned by: Ivan Raikov
Priority: major Milestone: 4.9.0
Component: extensions Version: 4.6.x
Keywords: json-abnf Cc:
Estimated difficulty:

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.

Change History (3)

comment:1 Changed 13 years ago by Ivan Raikov

Resolution: fixed
Status: newclosed

Fixed in json-abnf release 3.2

comment:2 Changed 13 years ago by felix winkelmann

Milestone: 4.7.04.8.0

Milestone 4.7.0 deleted

comment:3 Changed 12 years ago by felix winkelmann

Milestone: 4.8.04.9.0

Milestone 4.8.0 deleted

Note: See TracTickets for help on using tickets.