summary refs log tree commit diff stats
path: root/tests/stdlib/tjson.nim
Commit message (Collapse)AuthorAgeFilesLines
* [backport:1.0] json: limit recursion depth (#19252)Miran2021-12-141-0/+32
| | | | | * json: limit recursion depth * do not run this check for JS backend
* make -d:nimFpRoundtrips work consistently in vm vs rt, fix #18400, etc (#18531)Timothee Cour2021-07-201-3/+3
| | | | | | * compiler/vmhooks: add getVar to allow vmops with var params * addFloat vmops with var param * cgen now renders float32 literals in c backend using roundtrip float to string
* make dragonbox opt-in via -d:nimFpRoundtrips (#18504)Andreas Rumpf2021-07-161-3/+3
| | | | | | | * make dragonbox opt-in via -d:nimFpRoundtrips * make tests green again * make tests green again
* close #13196 now that we have dragonbox (#18316)Timothee Cour2021-06-211-0/+11
|
* fix #18007: std/json now serializes nan,inf,-inf as strings instead of ↵Timothee Cour2021-05-161-0/+23
| | | | | | | | | | | | | | | | | invalid json (#18026) * 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]
* fix #17490 (#17491)flywind2021-03-241-0/+11
|
* fix #17383: json.%,to and jsonutils.formJson,toJson now works with ↵Timothee Cour2021-03-161-1/+20
| | | | | | | uint|uint64 (#17389) [backport:1.2] * fix #17383: json.%,to and jsonutils.formJson,toJson now works with uint|uint64 * fixup * fix for js
* fix #17275 (#17276)flywind2021-03-091-4/+1
|
* follow up #17165 (#17262)flywind2021-03-041-0/+40
|
* remove unnecessary when statement (#17135)flywind2021-02-211-1/+10
|
* fixes #15413 (#15768)Andreas Rumpf2020-10-291-0/+3
| | | | | | | * fixes #15413 * better hide it properly * see if this makes our list of important packages happy
* remove isMainModule from json,os,sequtils (#14572)Timothee Cour2020-06-061-0/+234
* move json.isMainModule => tjson * move isMainModule => tos,tsequtils