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
Hello My JSON
{ "idTitle": "26a", "amount": -719.92 }
I want get 'amount' as Double, when 'idTitle' == '26a'
My Path Expression $.max($.[?(@.idTitle == '26a')].amount)
$.max($.[?(@.idTitle == '26a')].amount)
Expected result -719.92
Real result 5e-324
Why jsonPath return wrong result? How may I get single Double value (not List)?
Java, com.jayway.jsonpath version 2.8.0
Thanx
The text was updated successfully, but these errors were encountered:
Fix for max() does not return negative Double json-path#942
c07d547
No branches or pull requests
Hello
My JSON
I want get 'amount' as Double, when 'idTitle' == '26a'
My Path Expression
$.max($.[?(@.idTitle == '26a')].amount)
Expected result
-719.92
Real result
5e-324
Why jsonPath return wrong result?
How may I get single Double value (not List)?
Java, com.jayway.jsonpath version 2.8.0
Thanx
The text was updated successfully, but these errors were encountered: