mirror of
https://github.com/logos-storage/nim-serde.git
synced 2026-02-22 22:53:12 +00:00
clean up
This commit is contained in:
parent
978c9c32a9
commit
553661e488
@ -234,8 +234,6 @@ proc fromJson*(_: type JsonNode, json: string): ?!JsonNode =
|
||||
|
||||
proc fromJson*[T: ref object or object](_: type T, bytes: openArray[byte]): ?!T =
|
||||
let json = string.fromBytes(bytes)
|
||||
static:
|
||||
echo "typeof json after parse: ", typeof json
|
||||
T.fromJson(json)
|
||||
|
||||
proc fromJson*[T: ref object or object](_: type T, json: string): ?!T =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user