You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -174,6 +174,8 @@ Json can't store dates, so they are usually stored as strings. You can use
174
174
`parseHook*()` to override default parsing and parse `DateTime` as a `string`:
175
175
176
176
```nim
177
+
import jsony, times
178
+
177
179
proc parseHook*(s: string, i: var int, v: var DateTime) =
178
180
var str: string
179
181
parseHook(s, i, str)
@@ -270,6 +272,8 @@ Some times your json objects could contain arbitrary json structures,
270
272
maybe event user defined, that could only be walked as json nodes. This library allows you to parse json-in-json were you parse some of the structure as real nim objects but leave some parts of it as Json Nodes to be walked later with code:
0 commit comments