Seems to have problem when there is single quote in value
Closed this issue · 2 comments
junzhuang commented
json_string = [{"Analysis_Type":"King's College","Denominator":"8","Numerator":"87.50%","Measure":"7"}]
JsonPath.new('$.[?(@.Analysis_Type == "King\'s College")]').on(json_string) returns an emtpy array.
When I tested the query, $.[?(@.Analysis_Type == "King\'s College")], on http://www.jsonquerytool.com/ it worked.
Skarlso commented
Hi. Thanks for reporting it. I'll investigate ASAP.
Skarlso commented
Confirmed. I'll be fixing it shortly.