Skip to content

Commit

Permalink
chore: remove unneeded echos (#26)
Browse files Browse the repository at this point in the history
Remove unneeded echos
  • Loading branch information
emizzle authored Oct 23, 2024
1 parent cf59b42 commit c81b751
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions serde/json/deserializer.nim
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,6 @@ proc fromJson*[T: ref object or object](_: type T, bytes: openArray[byte]): ?!T
T.fromJson(json)

proc fromJson*[T: ref object or object](_: type T, json: string): ?!T =
echo "here1, T: ", T
when T is Option:
echo " we have an option!"
let jsn = ?JsonNode.parse(json) # full qualification required in-module only
T.fromJson(jsn)

Expand Down

0 comments on commit c81b751

Please sign in to comment.