Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Extent json.to testing to VM, add workrounds for VM bugs. (#12493) | Arne Döring | 2019-10-28 | 1 | -116/+122 |
| | | | fixes #12479 | ||||
* | Refactor json macro (#12391) | Arne Döring | 2019-10-17 | 1 | -1/+41 |
| | | | | | | | | * closes #12316 * make tjsonmacro work at js target * closes #12289 * closes #11988 * also fixed gdb related stuff | ||||
* | Fix spellings (#12277) [backport] | Federico Ceratto | 2019-09-27 | 1 | -1/+1 |
| | |||||
* | fixes #12015 by also checking kind of `typeNode` (#12016) | Vindaar | 2019-08-27 | 1 | -0/+36 |
| | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | fixes json.nim regression | Andreas Rumpf | 2019-03-29 | 1 | -4/+0 |
| | |||||
* | StringStream and parseJson, parseCfg, parseSql et al for the vm (#10746) | Arne Döring | 2019-02-28 | 1 | -0/+40 |
| | |||||
* | json: support tuple (#10010) | Timothee Cour | 2019-01-16 | 1 | -0/+4 |
| | |||||
* | lots of small changes | Arne Döring | 2018-12-11 | 1 | -1/+1 |
| | |||||
* | require errormsg to be specified before file. | Arne Döring | 2018-12-11 | 1 | -1/+0 |
| | |||||
* | make more tests green | Andreas Rumpf | 2018-08-13 | 1 | -2/+2 |
| | |||||
* | fixes #8037, json.to support object with distinct types (#8086) | andri lim | 2018-07-19 | 1 | -3/+102 |
| | | | | | | * add distinct types to json 'to' macro * fix json 'to' macro and add more test | ||||
* | Fixes #6902 | Abhishek Kapatkar | 2018-03-30 | 1 | -0/+15 |
| | |||||
* | Fixes #7433. | Dominik Picheta | 2018-03-29 | 1 | -0/+15 |
| | |||||
* | Fix `json.to` for types with generic parameters | Oscar Nihlgård | 2018-02-11 | 1 | -1/+8 |
| | |||||
* | Support all int, uint and float variants in json.to macro. | Dominik Picheta | 2017-11-30 | 1 | -1/+27 |
| | |||||
* | Fix infinite recursion when using json.to on ref with cycle. | Dominik Picheta | 2017-11-30 | 1 | -3/+1 |
| | |||||
* | Implement support for JsonNode in json.to. | Dominik Picheta | 2017-11-30 | 1 | -1/+18 |
| | |||||
* | Implement Table/OrderedTable support for json.to macro. | Dominik Picheta | 2017-11-30 | 1 | -2/+25 |
| | |||||
* | Implement support for Option[T] in json.to macro. Fixes #5848. | Dominik Picheta | 2017-11-30 | 1 | -2/+23 |
| | |||||
* | Fixes #6604. Rejects unnamed tuples with error. | Dominik Picheta | 2017-11-30 | 1 | -1/+21 |
| | |||||
* | Fixes #6095. | Dominik Picheta | 2017-11-30 | 1 | -1/+17 |
| | |||||
* | Fixes #5856. Code based on @loloiccl's PR (#5879). | Dominik Picheta | 2017-11-30 | 1 | -1/+14 |
| | |||||
* | [JSON] getBVal -> getBool; getFNum -> getFloat | Daniil Yarancev | 2017-10-14 | 1 | -2/+2 |
| | |||||
* | Fixes #5761. | Dominik Picheta | 2017-05-17 | 1 | -1/+21 |
| | |||||
* | Add test for previous commit. | Dominik Picheta | 2017-04-17 | 1 | -1/+10 |
| | |||||
* | Fixes `null` handling for object refs in JSON unmarshal macro. | Dominik Picheta | 2017-04-17 | 1 | -2/+11 |
| | |||||
* | Fix JSON macro bug with ref objects. | Dominik Picheta | 2017-04-17 | 1 | -3/+29 |
| | |||||
* | Implement support for enum fields in JSON macro. | Dominik Picheta | 2017-04-09 | 1 | -1/+17 |
| | |||||
* | Document `to` macro in JSON and add example. | Dominik Picheta | 2017-04-09 | 1 | -0/+26 |
| | |||||
* | Implements else branch for JSON unmarshalling of object variants. | Dominik Picheta | 2017-04-09 | 1 | -2/+36 |
| | |||||
* | Improve error messages and add tests for the JSON macro. | Dominik Picheta | 2017-04-08 | 1 | -25/+75 |
| | |||||
* | Support int, string and bool fields in unmarshal json macro. | Dominik Picheta | 2017-04-08 | 1 | -21/+40 |
| | |||||
* | First implementation of JSON unmarshal macro. | Dominik Picheta | 2017-04-08 | 1 | -0/+40 |