* fix #18007: std/json now serializes nan,inf,-inf as raw strings instead of invalid json * fix roundtrip * fix tests * fix changelog * simplify * add runnableExamples * fix typo [skip ci]
This commit is contained in:
parent
63fcb9e5f5
commit
d83b25db1e
5 changed files with 119 additions and 51 deletions
|
|
@ -70,6 +70,8 @@
|
|||
- `jsonutils` now serializes/deserializes holey enums as regular enums (via `ord`) instead of as strings.
|
||||
Use `-d:nimLegacyJsonutilsHoleyEnum` for a transition period.
|
||||
|
||||
- `json` and `jsonutils` now serialize NaN, Inf, -Inf as strings, so that
|
||||
`%[NaN, -Inf]` is the string `["nan","-inf"]` instead of `[nan,-inf]` which was invalid json.
|
||||
|
||||
## Standard library additions and changes
|
||||
- Added support for parenthesized expressions in `strformat`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue