Skip to content

Commit

Permalink
Merge pull request #72 from BundleFeed/fix-ambiguous-toJson
Browse files Browse the repository at this point in the history
avoid ambiguous call to toJson()
  • Loading branch information
treeform authored Nov 17, 2024
2 parents dd82ecf + 8053ad6 commit 8d58f03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jsony.nim
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ proc dumpHook*(s: var string, v: string) =
s.add '"'

template dumpKey(s: var string, v: string) =
const v2 = v.toJson() & ":"
const v2 = jsony.toJson(v) & ":"
s.add v2

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

0 comments on commit 8d58f03

Please sign in to comment.