summary refs log tree commit diff stats
path: root/lib/pure/json.nim
Commit message (Collapse)AuthorAgeFilesLines
* Add value creation/update to the usage exampleFederico Ceratto2016-06-111-1/+2
|
* Corrected comments in json pretty/ugly procedures (fixes #4255).A. S. Budden2016-06-021-2/+4
|
* Merge pull request #4135 from FedericoCeratto/patch-8Andreas Rumpf2016-05-281-0/+4
|\ | | | | Add another JSON example
| * Add another JSON exampleFederico Ceratto2016-05-051-0/+4
| | | | | | JSON generation can be a bit tricky, another example might help
* | Json serialization for openarrays and objectsYuriy Glukhov2016-05-131-9/+38
|/
* Added json.getOrDefault along with {singleKey} tr optimization.Yuriy Glukhov2016-04-061-0/+8
|
* Add -d:nimJsonGet flag for json.[] and news entry.Dominik Picheta2016-04-051-3/+15
|
* Fixes JSON module problems. Fixes #3107.Dominik Picheta2016-04-041-17/+23
|
* Merge pull request #4009 from PMunch/json-objecthashing-fixAndreas Rumpf2016-03-291-1/+1
|\ | | | | Changed the JSON object hashing procedure (fixing #3972)
| * Changed the JSON object hashing procedure to use a symmetric operator to ↵Peter Munch-Ellingsen2016-03-291-1/+1
| | | | | | | | disregard key order in object hashes
* | Use nil instead of null in jsondef2016-03-041-4/+1
| |
* | Support json null in %*def2016-03-041-0/+7
|/
* Fixed bad JS codegen for new json with tables. Added json to JS tests.Yuriy Glukhov2016-02-291-28/+34
|
* Export tables.`$` in json moduledef2016-02-271-0/+3
|
* Annotate hash with {.noSideEffect.}def2016-02-241-1/+1
|
* Initialize JObject fields with capacity 4 by default to save memory and ↵def2016-02-241-3/+3
| | | | improve performance
* Use tables instead of seqs for json objectsdef2016-02-241-41/+38
| | | | | Significant speedup for some operations, fixes #3809 Not tested very well yet
* Fix json.`%*` for empty objectsdef2016-02-061-3/+7
|
* Add UTF-16 decoding tests to json moduleDaniel Hertz2015-10-131-3/+7
|
* Make sure the json module decodes UTF16 correctlyDaniel Hertz2015-10-131-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.getFNumYuriy Glukhov2015-09-171-3/+6
|
* test case for #2367Roger Shi2015-09-101-0/+11
|
* fix #2367Roger Shi2015-09-091-1/+1
|
* Don't crash on `nil` in get* procs in the JSON module.Dominik Picheta2015-08-061-12/+12
|
* lib/pure/e-o - Dropped 'T' from typespdw2015-06-041-15/+17
|
* Clean up JSON testsFlaviu Tamas2015-05-251-25/+4
|
* Fixes problems introduced by #2738. Closes 2755.Dominik Picheta2015-05-181-4/+6
|
* Merge pull request #2747 from def-/json-inlineDominik Picheta2015-05-171-3/+3
|\ | | | | Make a few json procs inline, improves performance significantly
| * Make a few json procs inline, improves performance significantlydef2015-05-171-10/+10
| |
* | Removes superfluous toUgly, documents toUgly better.Dominik Picheta2015-05-171-6/+4
| |
* | Fixed indentation (2 spaces) part 2onionhammer2015-05-161-1/+1
| |
* | Fixed indentation (2 spaces)onionhammer2015-05-161-21/+21
| |
* | Added comment noting improved performance of non-pretty string conversiononionhammer2015-05-161-1/+2
| |
* | Fixed typoonionhammer2015-05-161-1/+1
| |
* | Improved performance of "$" on jsonnodeErik O'Leary2015-05-151-9/+49
|/
* Don't run non-test code when defined(testing)Oleh Prypin2015-04-211-19/+23
|
* Allow {} to return nested results in json & standardise on 'key' not 'name'Max Grender-Jones2015-04-181-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 Picheta2015-04-051-0/+43
|
* Rename PNimrodNode to NimNodedef2015-03-171-104/+104
|
* Replaced deprecated repeatChar() with repeat() or spaces().Hans Raaf2015-03-041-1/+1
|
* Fix typosFederico Ceratto2015-02-151-1/+1
|
* Merge pull request #1869 from def-/json-stuffAndreas Rumpf2015-02-071-2/+75
|\ | | | | Json stuff
| * Fix documentation and toJson signaturedef2015-02-041-2/+2
| |
| * Remove debugging echos againdef2015-01-051-2/+0
| |
| * Add operator `%*` to JSONdef2015-01-051-1/+76
| |
| * indent = 0 looks better for `$`(node: JsonNode)def2015-01-051-1/+1
| |
* | Add mitems and mpairs where it makes sensedef2015-01-281-0/+14
| |
* | Happy new year!Guillaume Gelin2015-01-061-1/+1
|/
* docgen should work againAraq2014-10-051-29/+29
|
* Nimrod renamed to NimAraq2014-08-281-2/+2
|