Skip to content

Commit 8d58f03

Browse files
authored
Merge pull request #72 from BundleFeed/fix-ambiguous-toJson
avoid ambiguous call to toJson()
2 parents dd82ecf + 8053ad6 commit 8d58f03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jsony.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ proc dumpHook*(s: var string, v: string) =
759759
s.add '"'
760760

761761
template dumpKey(s: var string, v: string) =
762-
const v2 = v.toJson() & ":"
762+
const v2 = jsony.toJson(v) & ":"
763763
s.add v2
764764

765765
proc dumpHook*(s: var string, v: char) =

0 commit comments

Comments
 (0)