RuddenberryL / json-path

Automatically exported from code.google.com/p/json-path
0 stars 0 forks source link

Cannot distinguish null properties from non existing properties #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Given this JSON : {"test":null}
JsonPath.read(json, "test") returns null
JsonPath.read(json, "nonExistingProperty") returns null
JsonPath.read(json, "nonExisting.property") throws a PathNotFoundException

I expect JsonPath.read(json, "nonExistingProperty") to throw a 
PathNotFoundException as well, so I can make a difference between my json null 
property and properties that does not exist.

Original issue reported on code.google.com by romain.f...@gmail.com on 14 Jan 2014 at 8:50

GoogleCodeExporter commented 9 years ago

Original comment by kalle.st...@gmail.com on 4 Aug 2014 at 10:13

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
fixed in 1.0

Original comment by kalle.st...@gmail.com on 23 Sep 2014 at 2:22