mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-31 02:12:11 +00:00
committed by
Andreas Rumpf
parent
e66d9c9381
commit
3e7aaa7087
@@ -256,7 +256,6 @@ proc add*(obj: JsonNode, key: string, val: JsonNode) =
|
||||
proc `%`*(s: string): JsonNode =
|
||||
## Generic constructor for JSON data. Creates a new `JString JsonNode`.
|
||||
new(result)
|
||||
if s.isNil: return
|
||||
result.kind = JString
|
||||
result.str = s
|
||||
|
||||
|
||||
Reference in New Issue
Block a user