parent
e66d9c9381
commit
3e7aaa7087
1 changed files with 0 additions and 1 deletions
|
|
@ -256,7 +256,6 @@ proc add*(obj: JsonNode, key: string, val: JsonNode) =
|
||||||
proc `%`*(s: string): JsonNode =
|
proc `%`*(s: string): JsonNode =
|
||||||
## Generic constructor for JSON data. Creates a new `JString JsonNode`.
|
## Generic constructor for JSON data. Creates a new `JString JsonNode`.
|
||||||
new(result)
|
new(result)
|
||||||
if s.isNil: return
|
|
||||||
result.kind = JString
|
result.kind = JString
|
||||||
result.str = s
|
result.str = s
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue