Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixes #5761. | Dominik Picheta | 2017-05-17 | 1 | -4/+17 |
| | |||||
* | Small grammar fixes in json.nim (#5758) | Daniil Yarancev | 2017-04-26 | 1 | -4/+4 |
| | |||||
* | Add test for previous commit. | Dominik Picheta | 2017-04-17 | 1 | -1/+1 |
| | |||||
* | Support JInt fields for 'float' in JSON umarshal macro. | Dominik Picheta | 2017-04-17 | 1 | -2/+2 |
| | |||||
* | Fixes `null` handling for object refs in JSON unmarshal macro. | Dominik Picheta | 2017-04-17 | 1 | -7/+22 |
| | |||||
* | Add support for BiggestInt in JSON unmarshal macro. | Dominik Picheta | 2017-04-17 | 1 | -0/+6 |
| | |||||
* | Fix JSON macro bug with ref objects. | Dominik Picheta | 2017-04-17 | 1 | -1/+5 |
| | |||||
* | Implement support for enum fields in JSON macro. | Dominik Picheta | 2017-04-09 | 1 | -1/+7 |
| | |||||
* | Use doAssert in JSON macro and improve diagnostics. | Dominik Picheta | 2017-04-09 | 1 | -11/+13 |
| | |||||
* | Improve documentation in the JSON module. | Dominik Picheta | 2017-04-09 | 1 | -15/+46 |
| | |||||
* | Document `to` macro in JSON and add example. | Dominik Picheta | 2017-04-09 | 1 | -22/+45 |
| | |||||
* | Implements else branch for JSON unmarshalling of object variants. | Dominik Picheta | 2017-04-09 | 1 | -17/+70 |
| | |||||
* | Improve error messages and add tests for the JSON macro. | Dominik Picheta | 2017-04-08 | 1 | -10/+25 |
| | |||||
* | Support int, string and bool fields in unmarshal json macro. | Dominik Picheta | 2017-04-08 | 1 | -0/+19 |
| | |||||
* | First implementation of JSON unmarshal macro. | Dominik Picheta | 2017-04-08 | 1 | -0/+320 |
| | |||||
* | Implement json.`%` for enums. | Dominik Picheta | 2017-04-06 | 1 | -0/+5 |
| | |||||
* | match json.toPretty style with NodeJS's stringify (#5406) | Emery Hemingway | 2017-02-21 | 1 | -5/+4 |
| | |||||
* | Fix for #5134 (parseJson(string) should fail on leftover data) (#5203) | Lolo Iccl | 2017-01-11 | 1 | -0/+18 |
| | |||||
* | json.toUgly also uses optimized string routines | Andreas Rumpf | 2016-11-21 | 1 | -2/+4 |
| | |||||
* | speed up json core module | Andreas Rumpf | 2016-11-21 | 1 | -11/+27 |
| | |||||
* | Add few JSON examples | Federico Ceratto | 2016-09-29 | 1 | -0/+2 |
| | |||||
* | Fixed frame corruption | Yuriy Glukhov | 2016-08-27 | 1 | -3/+3 |
| | |||||
* | json module: use ordered tables instead of ordinary tables | Andreas Rumpf | 2016-08-25 | 1 | -17/+23 |
| | |||||
* | prepare Nim codebase for upcoming parser changes | Andreas Rumpf | 2016-07-15 | 1 | -2/+2 |
| | |||||
* | Fix "string literal as key expected" error | Federico Ceratto | 2016-07-09 | 1 | -1/+1 |
| | | | Fix "Error: string literal as key expected expected" | ||||
* | fixes #4399 | Andreas Rumpf | 2016-07-08 | 1 | -0/+1 |
| | |||||
* | Implemented `in` operator support for JsonNode objects | Rostyslav Dzinko | 2016-06-17 | 1 | -0/+10 |
| | |||||
* | Add value creation/update to the usage example | Federico Ceratto | 2016-06-11 | 1 | -1/+2 |
| | |||||
* | Corrected comments in json pretty/ugly procedures (fixes #4255). | A. S. Budden | 2016-06-02 | 1 | -2/+4 |
| | |||||
* | Merge pull request #4135 from FedericoCeratto/patch-8 | Andreas Rumpf | 2016-05-28 | 1 | -0/+4 |
|\ | | | | | Add another JSON example | ||||
| * | Add another JSON example | Federico Ceratto | 2016-05-05 | 1 | -0/+4 |
| | | | | | | JSON generation can be a bit tricky, another example might help | ||||
* | | Json serialization for openarrays and objects | Yuriy Glukhov | 2016-05-13 | 1 | -9/+38 |
|/ | |||||
* | Added json.getOrDefault along with {singleKey} tr optimization. | Yuriy Glukhov | 2016-04-06 | 1 | -0/+8 |
| | |||||
* | Add -d:nimJsonGet flag for json.[] and news entry. | Dominik Picheta | 2016-04-05 | 1 | -3/+15 |
| | |||||
* | Fixes JSON module problems. Fixes #3107. | Dominik Picheta | 2016-04-04 | 1 | -17/+23 |
| | |||||
* | Merge pull request #4009 from PMunch/json-objecthashing-fix | Andreas Rumpf | 2016-03-29 | 1 | -1/+1 |
|\ | | | | | Changed the JSON object hashing procedure (fixing #3972) | ||||
| * | Changed the JSON object hashing procedure to use a symmetric operator to ↵ | Peter Munch-Ellingsen | 2016-03-29 | 1 | -1/+1 |
| | | | | | | | | disregard key order in object hashes | ||||
* | | Use nil instead of null in json | def | 2016-03-04 | 1 | -4/+1 |
| | | |||||
* | | Support json null in %* | def | 2016-03-04 | 1 | -0/+7 |
|/ | |||||
* | Fixed bad JS codegen for new json with tables. Added json to JS tests. | Yuriy Glukhov | 2016-02-29 | 1 | -28/+34 |
| | |||||
* | Export tables.`$` in json module | def | 2016-02-27 | 1 | -0/+3 |
| | |||||
* | Annotate hash with {.noSideEffect.} | def | 2016-02-24 | 1 | -1/+1 |
| | |||||
* | Initialize JObject fields with capacity 4 by default to save memory and ↵ | def | 2016-02-24 | 1 | -3/+3 |
| | | | | improve performance | ||||
* | Use tables instead of seqs for json objects | def | 2016-02-24 | 1 | -41/+38 |
| | | | | | Significant speedup for some operations, fixes #3809 Not tested very well yet | ||||
* | Fix json.`%*` for empty objects | def | 2016-02-06 | 1 | -3/+7 |
| | |||||
* | Add UTF-16 decoding tests to json module | Daniel Hertz | 2015-10-13 | 1 | -3/+7 |
| | |||||
* | Make sure the json module decodes UTF16 correctly | Daniel Hertz | 2015-10-13 | 1 | -5/+25 |
| | | | | | | | Javascript uses UTF-16 as its internal representation of strings, so JSON does so as well. This means that we could have surrogate pairs, with codepoints above 0xFFFF that take 2 ecape codes to decode. | ||||
* | Transparently coerce int to float in JsonNode.getFNum | Yuriy Glukhov | 2015-09-17 | 1 | -3/+6 |
| | |||||
* | test case for #2367 | Roger Shi | 2015-09-10 | 1 | -0/+11 |
| | |||||
* | fix #2367 | Roger Shi | 2015-09-09 | 1 | -1/+1 |
| |