Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removed simpleGetOrDefault (#13590) | Andreas Rumpf | 2020-03-05 | 1 | -2/+4 |
| | |||||
* | Improved assertion error messages on usage of JsonNode iterators on wrong ↵ | Ico Doornekamp | 2020-02-17 | 1 | -5/+5 |
| | | | | kinds (#13389) | ||||
* | Fix vertical tab in JSON. (#13399) | Khronos | 2020-02-17 | 1 | -1/+1 |
| | | | '\v' is not injected in JSON anymore | ||||
* | Revert "printing float values will have one more digit. (#13276) [backport]" ↵ | Timothee Cour | 2020-02-08 | 1 | -2/+2 |
| | | | | | (#13363) This reverts commit b2c6db97f9f477f6999fa9c7aae5e32f10b6b3fe. | ||||
* | printing float values will have one more digit. (#13276) [backport] | Arne Döring | 2020-02-07 | 1 | -2/+2 |
| | | | | * printing float values will have one more digit. Fixes #13196 | ||||
* | fix json regression D20191212T144944 (#12902) [backport] | Timothee Cour | 2019-12-15 | 1 | -0/+1 |
| | |||||
* | Fixes #12832 (#12842) [backport] | Neelesh Chandola | 2019-12-08 | 1 | -1/+1 |
| | | | | | | * Fix #12832 * nimVm -> nimvm in json.nim * Use suggestSym() instead of markUsed(); Also use styleCheckUse() for finding style violations | ||||
* | remove deprecated procs (#12535) | Andreas Rumpf | 2019-11-05 | 1 | -16/+0 |
| | |||||
* | fix several typos in documentation and comments (#12553) | Nindaleth | 2019-10-30 | 1 | -1/+1 |
| | |||||
* | Extent json.to testing to VM, add workrounds for VM bugs. (#12493) | Arne Döring | 2019-10-28 | 1 | -50/+127 |
| | | | fixes #12479 | ||||
* | Refactor json macro (#12391) | Arne Döring | 2019-10-17 | 1 | -638/+263 |
| | | | | | | | | * closes #12316 * make tjsonmacro work at js target * closes #12289 * closes #11988 * also fixed gdb related stuff | ||||
* | [backport] run nimpretty on parsers | narimiran | 2019-09-30 | 1 | -23/+28 |
| | |||||
* | Fix spellings (#12277) [backport] | Federico Ceratto | 2019-09-27 | 1 | -1/+1 |
| | |||||
* | json: removed deprecatedGet pragma | Araq | 2019-09-21 | 1 | -10/+1 |
| | |||||
* | fixes #12152 (#12165) | Andreas Rumpf | 2019-09-11 | 1 | -0/+25 |
| | | | | | | * fixes #12152 * makes test green | ||||
* | fixes #12015 by also checking kind of `typeNode` (#12016) | Vindaar | 2019-08-27 | 1 | -4/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | * fixes #12015 by also checking kind of `typeNode` If a tuple field is aliased it'll appear the same as a ref type in a call to `getType` if only for the kind of the resulting `NimNode` is checked (that is a `nnkBracketExpr`) * fix test case due to #12017 and add more realistic test case Adds an additional test case, which includes generics and is closer to the real failure I encountered * remove previous fix and fix differently after all The previous fix was incomplete, because it failed for generics. Note that the `of "tuple"` is not actually needed, the `nnkBracketExpr` branch in the `else` branch would catch it too, but I decided to introduce it for clarity. However, the latter is actually needed, because it seems for aliases of `seq` we end up in it. * update comment about global `%` proc in json test | ||||
* | [refactoring] remove unused imports in the compiler and in some stdlib modules | Araq | 2019-07-18 | 1 | -2/+2 |
| | |||||
* | styleCheck: make the compiler and large parts of the stdlib compatible with ↵ | Araq | 2019-07-10 | 1 | -2/+2 |
| | | | | --styleCheck:error | ||||
* | Added 'keys' iterator to JsonNode (#11597) [feature] | Liam Sc | 2019-07-03 | 1 | -0/+6 |
| | |||||
* | Render deprecated pragmas (#8886) | LemonBoy | 2019-06-03 | 1 | -8/+8 |
| | | | | | | | | | * Render deprecated pragmas * fix the expected html * clean up the documentation regarding deprecations * fix typo * fix system.nim * fix random | ||||
* | fixes #11057 (#11345) | Andreas Rumpf | 2019-05-28 | 1 | -2/+1 |
| | |||||
* | make json.to work with the more restricted case objects | Araq | 2019-05-27 | 1 | -14/+11 |
| | |||||
* | fixes #1286; object case transitions are now sound | Andreas Rumpf | 2019-05-27 | 1 | -42/+15 |
| | |||||
* | fixes #10963, disallow implicit mixing of strings and ints/floats (#11292) | Miran | 2019-05-21 | 1 | -4/+4 |
| | |||||
* | json: add '\v' support, fixes #10541 (#10987) | Miran | 2019-04-10 | 1 | -0/+1 |
| | |||||
* | json.nim: tiny refactoring | Araq | 2019-04-01 | 1 | -4/+1 |
| | |||||
* | fixes json.nim regression | Andreas Rumpf | 2019-03-29 | 1 | -12/+5 |
| | |||||
* | simplify json.% for tuples and objects | narimiran | 2019-03-11 | 1 | -13/+7 |
| | |||||
* | Tighten the conversion from tyRange to scalar types (#10495) | LemonBoy | 2019-02-23 | 1 | -10/+48 |
| | | | | | | | | | * Tighten the conversion from tyRange to scalar types. Introduce the `isIntConv` rule for unsigned types. Do not allow mixed-signedness conversions between ranges and scalar types. * More json adjustments | ||||
* | Implement `json.%` for tables and options | Oscar Nihlgård | 2019-02-13 | 1 | -1/+11 |
| | |||||
* | fixup #10466 to use runnableExamples (#10510) | Timothee Cour | 2019-01-31 | 1 | -17/+14 |
| | |||||
* | Example for json.pretty (#10466) | Mandeep Singh | 2019-01-30 | 1 | -3/+22 |
| | |||||
* | Add logic to deserialize tyRange fields from json (#10469) | LemonBoy | 2019-01-28 | 1 | -0/+24 |
| | |||||
* | Use hexadecimal in json escaping (#10437) [backport] | Christian Lyder Jacobsen | 2019-01-25 | 1 | -3/+3 |
| | |||||
* | fix json bug `[]=` misplaced (#10397) | Timothee Cour | 2019-01-21 | 1 | -5/+5 |
| | |||||
* | json: support tuple (#10010) | Timothee Cour | 2019-01-16 | 1 | -1/+16 |
| | |||||
* | [json] document fact that key ordering is preserved (#10020) | Timothee Cour | 2018-12-20 | 1 | -0/+7 |
| | |||||
* | [docs/json]: expands existing examples + shows {} operator in action (#9157) | Steve Kellock | 2018-10-02 | 1 | -28/+74 |
| | | | | | | * [docs/json]: expands existing examples + shows {} operator in action * adds import stmt and fixes butchered syntax in json examples | ||||
* | Fix #9111; error when parsing to aliased type field | mashingan | 2018-09-29 | 1 | -1/+15 |
| | |||||
* | Add escapeJsonUnquoted for json escaped strings without quotes (#8785) | hlaaf | 2018-08-27 | 1 | -4/+16 |
| | | | | | | * Add escapeJsonUnquoted * Add tests for escapeJsonUnquoted | ||||
* | even more strict isNil handling for strings/seqs in order to detect bugs | Araq | 2018-08-22 | 1 | -1/+0 |
| | |||||
* | make more tests green | Andreas Rumpf | 2018-08-13 | 1 | -1/+1 |
| | |||||
* | fixes #8037, json.to support object with distinct types (#8086) | andri lim | 2018-07-19 | 1 | -5/+30 |
| | | | | | | * add distinct types to json 'to' macro * fix json 'to' macro and add more test | ||||
* | Testament should run tests with no action (#8232) | genotrance | 2018-07-08 | 1 | -18/+17 |
| | | | | | | * Testament should run tests with no action * Fix strutils tests for JS | ||||
* | Allow `%` overloading in `%*` macro in json (again) | hlaaf | 2018-06-06 | 1 | -4/+4 |
| | |||||
* | fix #7881, control characters in json output (#7887) | hlaaf | 2018-05-28 | 1 | -0/+3 |
| | | | | | | * fix #7881, control characters in json output * Add test for control characters in json | ||||
* | json.nim: delete should raise KeyError, not IndexError, minor cleanup of the ↵ | Araq | 2018-05-20 | 1 | -4/+4 |
| | | | | tests | ||||
* | move parsejson logic into its own standard lib module | Araq | 2018-05-18 | 1 | -505/+12 |
| | |||||
* | fixes #7817 | Araq | 2018-05-14 | 1 | -0/+3 |
| | |||||
* | remove deprecated stuff from the stdlib; introduce better deprecation warnings | Araq | 2018-05-05 | 1 | -11/+4 |
| |