jmespath / jmespath.py

JMESPath is a query language for JSON.
http://jmespath.org
MIT License
2.19k stars 181 forks source link

Handle scientific notation in to_number() #134

Closed jamesls closed 7 years ago

jamesls commented 7 years ago

Instead just try to parse the number as an int, and if that fails try float() before returning None.

Fixes #120.