We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
json: { "books" : [ { "id" : 1, "title" : "Clean Code", "author" : { "name" : "Robert C. Martin" }, "price" : 17.96 }, { "id" : 2, "title" : "Maintainable JavaScript", "author" : { "name" : "Nicholas C. Zakas" }, "price" : -10 }, { "id" : 3, "title" : "Agile Software Development", "author" : { "name" : "Robert C. Martin" }, "price" : 20 }, { "id" : 4, "title" : "JavaScript: The Good Parts", "author" : { "name" : "Douglas Crockford" }, "price" : 15.67 } ], "oks":[{"id":8}] }
query: .books{ -(.price - 5 + 5 ) == 10 } is null but query: .books{ -(.price + 5 - 5 ) == 10 } is right
The text was updated successfully, but these errors were encountered:
Hi, @weinvest! Bug is confirmed.
Sorry, something went wrong.
04a3c49
Merge pull request #45 from /issues/44
3c3233d
Fix order of arithmetic operations (close #44)
Fixed in 0.3.3
No branches or pull requests
json:
{
"books" : [
{
"id" : 1,
"title" : "Clean Code",
"author" : { "name" : "Robert C. Martin" },
"price" : 17.96
},
{
"id" : 2,
"title" : "Maintainable JavaScript",
"author" : { "name" : "Nicholas C. Zakas" },
"price" : -10
},
{
"id" : 3,
"title" : "Agile Software Development",
"author" : { "name" : "Robert C. Martin" },
"price" : 20
},
{
"id" : 4,
"title" : "JavaScript: The Good Parts",
"author" : { "name" : "Douglas Crockford" },
"price" : 15.67
}
],
"oks":[{"id":8}]
}
query: .books{ -(.price - 5 + 5 ) == 10 } is null
but query: .books{ -(.price + 5 - 5 ) == 10 } is right
The text was updated successfully, but these errors were encountered: