Opened 10 years ago

Closed 10 years ago

Last modified 9 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 10 years ago by Ivan Raikov

Resolution: fixed
Status: newclosed

Fixed in json-abnf release 3.2

comment:2 Changed 10 years ago by felix winkelmann

Milestone: 4.7.04.8.0

Milestone 4.7.0 deleted

comment:3 Changed 9 years ago by felix winkelmann

Milestone: 4.8.04.9.0

Milestone 4.8.0 deleted

Note: See TracTickets for help on using tickets.