mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-26 14:54:56 +00:00
Currently this method parses the string as a double. This means that it might lose accuracy if the value is a long that is greater than 2^52. This commit changes this method to try to detect whether the string represents a long first.