Add a couple words to docs

This commit is contained in:
flaviut
2014-04-13 17:05:12 -04:00
parent 6d3fbf973f
commit 4ff5112803

View File

@@ -635,7 +635,7 @@ proc `[]`*(node: PJsonNode, name: string, default: PJsonNode = nil): PJsonNode =
## foo["field1"]["field2"]
##
## If `field1` is undefined, it will return nil, and the access on `field2` will
## pass through. Also returns default if the key is not found.
## pass through and return nil. Also returns default if the key is not found.
if isNil(node):
return default
assert(node.kind == JObject)