diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-03-16 15:33:09 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-03-16 15:33:09 +0100 |
commit | 083d84ba0319f61ac88a6f16933658c6aedb9166 (patch) | |
tree | 07ac85e64933965e744d8cd7d0f65b5abedcae7a /lib | |
parent | 12f7b96be08cce291f33f79ea2d504d93fdc7974 (diff) | |
download | Nim-083d84ba0319f61ac88a6f16933658c6aedb9166.tar.gz |
json.nim: documentation copy&paste issue
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/json.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/json.nim b/lib/pure/json.nim index bbde4db5f..2b58d154e 100644 --- a/lib/pure/json.nim +++ b/lib/pure/json.nim @@ -734,7 +734,7 @@ proc getFields*(n: JsonNode, else: return n.fields proc getElems*(n: JsonNode, default: seq[JsonNode] = @[]): seq[JsonNode] = - ## Retrieves the int value of a `JArray JsonNode`. + ## Retrieves the array of a `JArray JsonNode`. ## ## Returns ``default`` if ``n`` is not a ``JArray``, or if ``n`` is nil. if n.isNil or n.kind != JArray: return default |