zerolog icon indicating copy to clipboard operation
zerolog copied to clipboard

Fix JSON encoding of float exponents to be like json.Marshal / ES6

Open joeycumines opened this issue 1 year ago • 0 comments

This change is to match most other implementations, e.g. json.Marshal.

The values represented in the output should be identical to the existing implementation. "Safe integer" values are still represented as before (no exponent).

joeycumines avatar Apr 06 '23 15:04 joeycumines