Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Don't crash on `nil` in get* procs in the JSON module. | Dominik Picheta | 2015-08-06 | 1 | -12/+12 |
| | |||||
* | lib/pure/e-o - Dropped 'T' from types | pdw | 2015-06-04 | 1 | -15/+17 |
| | |||||
* | Clean up JSON tests | Flaviu Tamas | 2015-05-25 | 1 | -25/+4 |
| | |||||
* | Fixes problems introduced by #2738. Closes 2755. | Dominik Picheta | 2015-05-18 | 1 | -4/+6 |
| | |||||
* | Merge pull request #2747 from def-/json-inline | Dominik Picheta | 2015-05-17 | 1 | -3/+3 |
|\ | | | | | Make a few json procs inline, improves performance significantly | ||||
| * | Make a few json procs inline, improves performance significantly | def | 2015-05-17 | 1 | -10/+10 |
| | | |||||
* | | Removes superfluous toUgly, documents toUgly better. | Dominik Picheta | 2015-05-17 | 1 | -6/+4 |
| | | |||||
* | | Fixed indentation (2 spaces) part 2 | onionhammer | 2015-05-16 | 1 | -1/+1 |
| | | |||||
* | | Fixed indentation (2 spaces) | onionhammer | 2015-05-16 | 1 | -21/+21 |
| | | |||||
* | | Added comment noting improved performance of non-pretty string conversion | onionhammer | 2015-05-16 | 1 | -1/+2 |
| | | |||||
* | | Fixed typo | onionhammer | 2015-05-16 | 1 | -1/+1 |
| | | |||||
* | | Improved performance of "$" on jsonnode | Erik O'Leary | 2015-05-15 | 1 | -9/+49 |
|/ | |||||
* | Don't run non-test code when defined(testing) | Oleh Prypin | 2015-04-21 | 1 | -19/+23 |
| | |||||
* | Allow {} to return nested results in json & standardise on 'key' not 'name' | Max Grender-Jones | 2015-04-18 | 1 | -16/+27 |
| | | | | | | - Note now returns nil if users try to index into a non-object; old behaviour was to throw a runtime error - Also s/transverse/traverse/ | ||||
* | Added accessor procs with default params for JsonNodes. | Dominik Picheta | 2015-04-05 | 1 | -0/+43 |
| | |||||
* | Rename PNimrodNode to NimNode | def | 2015-03-17 | 1 | -104/+104 |
| | |||||
* | Replaced deprecated repeatChar() with repeat() or spaces(). | Hans Raaf | 2015-03-04 | 1 | -1/+1 |
| | |||||
* | Fix typos | Federico Ceratto | 2015-02-15 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1869 from def-/json-stuff | Andreas Rumpf | 2015-02-07 | 1 | -2/+75 |
|\ | | | | | Json stuff | ||||
| * | Fix documentation and toJson signature | def | 2015-02-04 | 1 | -2/+2 |
| | | |||||
| * | Remove debugging echos again | def | 2015-01-05 | 1 | -2/+0 |
| | | |||||
| * | Add operator `%*` to JSON | def | 2015-01-05 | 1 | -1/+76 |
| | | |||||
| * | indent = 0 looks better for `$`(node: JsonNode) | def | 2015-01-05 | 1 | -1/+1 |
| | | |||||
* | | Add mitems and mpairs where it makes sense | def | 2015-01-28 | 1 | -0/+14 |
| | | |||||
* | | Happy new year! | Guillaume Gelin | 2015-01-06 | 1 | -1/+1 |
|/ | |||||
* | docgen should work again | Araq | 2014-10-05 | 1 | -29/+29 |
| | |||||
* | Nimrod renamed to Nim | Araq | 2014-08-28 | 1 | -2/+2 |
| |