Result
The v field gets returned in scientific notation:
{ ...,"v":2.4970168e+07,...}. This is an issue as there's no notion of an integer in the json schema, and many json parsers parse scientific notation as a floating point. For example, I use serde-json for parsing the return in rust, but the deserialization errors as the scientific notation is not parsed as an integer.
Expected Result
I would expect the volume value to be fully written out using standard notation, as it is across many of the other endpoints
Screenshots
N/A
Desktop (please complete the following information):
Not applicable, this issue is related to the api.
URL https://api.polygon.io/v2/aggs/ticker/MSFT/prev?unadjusted=true&apiKey=REDACTED
Result The
v
field gets returned in scientific notation:{ ...,"v":2.4970168e+07,...}
. This is an issue as there's no notion of an integer in the json schema, and many json parsers parse scientific notation as a floating point. For example, I useserde-json
for parsing the return in rust, but the deserialization errors as the scientific notation is not parsed as an integer.Expected Result I would expect the volume value to be fully written out using standard notation, as it is across many of the other endpoints
Screenshots N/A
Desktop (please complete the following information): Not applicable, this issue is related to the api.
Additional context N/A