diff options
| author | Linus Groh <mail@linusgroh.de> | 2023-10-27 19:05:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-27 18:05:51 +0000 |
| commit | 772636ed0d4a2051955197999c9ddf2906384806 (patch) | |
| tree | ad6779833aa096513c83f20e846993f745cafa1d /src/Module.zig | |
| parent | a4cffd80bdc9bf879d1048b52aeba5716723803d (diff) | |
| download | zig-772636ed0d4a2051955197999c9ddf2906384806.tar.gz zig-772636ed0d4a2051955197999c9ddf2906384806.zip | |
std.json: Parse -0 as a float instead of an integer (#17729)
This is consistent with `JSON.parse("-0")` in JavaScript, RFC 8259
doesn't specifically mention what to do in this case.
If a negative zero is encoded the intention is likely to preserve the
sign.
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions
