mirror of
https://github.com/status-im/nim-json-serialization.git
synced 2025-02-19 21:38:09 +00:00
missing raises (#61)
This commit is contained in:
parent
e32e8ad916
commit
bb53d49caf
@ -702,7 +702,8 @@ proc readValue*[T](r: var JsonReader, value: var T)
|
||||
const typeName = typetraits.name(T)
|
||||
{.error: "Failed to convert to JSON an unsupported type: " & typeName.}
|
||||
|
||||
iterator readObjectFields*(r: var JsonReader): string =
|
||||
iterator readObjectFields*(r: var JsonReader): string {.
|
||||
raises: [IOError, SerializationError].} =
|
||||
for key in readObjectFields(r, string):
|
||||
yield key
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user