You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most JSON encoders just wrap 1.0 to 1, while protobuf gives good enough code generation, can we cast 1 -> 1.0 for floats and doubles?
The alternate solution is to use FloatValue and DoubleValue, that feels like just more work for no reason
The text was updated successfully, but these errors were encountered:
whatyouhide
changed the title
Can json decoder be loose on constraints about float ?
Can JSON decoder be loose on constraints about float?
Nov 30, 2023
Most JSON encoders just wrap 1.0 to 1, while protobuf gives good enough code generation, can we cast 1 -> 1.0 for floats and doubles?
The alternate solution is to use FloatValue and DoubleValue, that feels like just more work for no reason
The text was updated successfully, but these errors were encountered: