summary refs log tree commit diff stats
path: root/lib/pure/json.nim
Commit message (Collapse)AuthorAgeFilesLines
* [json] document fact that key ordering is preserved (#10020)Timothee Cour2018-12-201-0/+7
|
* [docs/json]: expands existing examples + shows {} operator in action (#9157)Steve Kellock2018-10-021-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 fieldmashingan2018-09-291-1/+15
|
* Add escapeJsonUnquoted for json escaped strings without quotes (#8785)hlaaf2018-08-271-4/+16
| | | | | | * Add escapeJsonUnquoted * Add tests for escapeJsonUnquoted
* even more strict isNil handling for strings/seqs in order to detect bugsAraq2018-08-221-1/+0
|
* make more tests greenAndreas Rumpf2018-08-131-1/+1
|
* fixes #8037, json.to support object with distinct types (#8086)andri lim2018-07-191-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)genotrance2018-07-081-18/+17
| | | | | | * Testament should run tests with no action * Fix strutils tests for JS
* Allow `%` overloading in `%*` macro in json (again)hlaaf2018-06-061-4/+4
|
* fix #7881, control characters in json output (#7887)hlaaf2018-05-281-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 ↵Araq2018-05-201-4/+4
| | | | tests
* move parsejson logic into its own standard lib moduleAraq2018-05-181-505/+12
|
* fixes #7817Araq2018-05-141-0/+3
|
* remove deprecated stuff from the stdlib; introduce better deprecation warningsAraq2018-05-051-11/+4
|
* Improve deprecation messages in json docs.Dominik Picheta2018-04-251-4/+4
|
* tiny typoTerence Namusonge2018-04-251-1/+1
|
* Fix docs in json module after #7537Dominik Picheta2018-04-151-1/+3
|
* Add autovivification example (#7537)Federico Ceratto2018-04-161-0/+5
| | | | | | * Add autovivification example * Update json.nim
* make tests green againAndreas Rumpf2018-04-131-1/+1
|
* Fixes #6902Abhishek Kapatkar2018-03-301-1/+1
|
* Fixes #7433.Dominik Picheta2018-03-291-0/+10
|
* json.nim: documentation copy&paste issueAndreas Rumpf2018-03-161-1/+1
|
* Fix `json.to` for types with generic parametersOscar Nihlgård2018-02-111-1/+1
|
* Support all int, uint and float variants in json.to macro.Dominik Picheta2017-11-301-14/+16
|
* Fix infinite recursion when using json.to on ref with cycle.Dominik Picheta2017-11-301-0/+10
|
* Implement support for JsonNode in json.to.Dominik Picheta2017-11-301-0/+5
|
* Implement Table/OrderedTable support for json.to macro.Dominik Picheta2017-11-301-0/+24
|
* Implement support for Option[T] in json.to macro. Fixes #5848.Dominik Picheta2017-11-301-0/+27
|
* Fixes #6604. Rejects unnamed tuples with error.Dominik Picheta2017-11-301-2/+13
|
* Fixes #6095.Dominik Picheta2017-11-301-21/+36
|
* Fixes #5856. Code based on @loloiccl's PR (#5879).Dominik Picheta2017-11-301-5/+23
|
* make tests green againAndreas Rumpf2017-11-171-2/+2
|
* more replacements for the deprecated '<'Andreas Rumpf2017-10-291-8/+8
|
* Update json.nim (#6513)Daniil Yarancev2017-10-151-3/+9
|
* [JSON] getBVal -> getBool; getFNum -> getFloatDaniil Yarancev2017-10-141-8/+21
|
* Add default value for filename in parseJson proc (#6441)konqoro2017-09-281-1/+1
|
* fixes #6438Andreas Rumpf2017-09-281-10/+25
|
* Reorder json `add` and `%`, fixes #6385 (#6388)Mamy Ratsimbazafy2017-09-161-10/+10
| | | | | | * Reorder json `add` and `%`, fixes https://github.com/nim-lang/Nim/issues/6385 * rename json test files
* Changed JSON stringification to preserve UTF (#6330)Yuriy Glukhov2017-09-151-18/+11
|
* Fixed closure compiler incompatibility (#6365)Yuriy Glukhov2017-09-111-1/+1
|
* Update doc for json.to() with limitation (#6334)superfunc2017-09-061-0/+1
|
* Fixed handling of surrogate pairs (#6332)Yuriy Glukhov2017-09-051-2/+1
|
* Ascii character code 127 (DEL) is not printable and must be quoted. (#5984)Markus F.X.J. Oberhumer2017-06-151-1/+1
| | | This is a follow-up to #5823.
* Fixes #5761.Dominik Picheta2017-05-171-4/+17
|
* Small grammar fixes in json.nim (#5758)Daniil Yarancev2017-04-261-4/+4
|
* Add test for previous commit.Dominik Picheta2017-04-171-1/+1
|
* Support JInt fields for 'float' in JSON umarshal macro.Dominik Picheta2017-04-171-2/+2
|
* Fixes `null` handling for object refs in JSON unmarshal macro.Dominik Picheta2017-04-171-7/+22
|
* Add support for BiggestInt in JSON unmarshal macro.Dominik Picheta2017-04-171-0/+6
|
* Fix JSON macro bug with ref objects.Dominik Picheta2017-04-171-1/+5
|