Description
given an object
{"a":{"b":false}}
I expect "$..*[?(@ === false)]" to return a result, in fact, this search returns empty array
As far as I can tell, the issue is on line 674:
JSONPath.prototype._eval = function (
code, _v, _vname, path, parent, parentPropName
) {
if (!this._obj || !_v) { return false; }
because _v === false the expression nether evaluated
Metadata
Metadata
Assignees
Labels
No labels