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
+15-2
Original file line number
Diff line number
Diff line change
@@ -222,7 +222,7 @@ Gives us:
222
222
"10/13"
223
223
```
224
224
225
-
###Static writing with `toStaticJson`.
225
+
## Static writing with `toStaticJson`.
226
226
227
227
Some times you have or const json and you want to write it in a static way. There is a special function for that:
228
228
@@ -232,7 +232,7 @@ thing.toStaticJson()
232
232
233
233
Make sure `thing` is a `static` or a `const` value and you will get a compile time string with your JSON.
234
234
235
-
###Full support for case variant objects.
235
+
## Full support for case variant objects.
236
236
237
237
Case variant objects like this are fully supported:
238
238
@@ -246,3 +246,16 @@ t=oe RefNode = ref object
246
246
The discriminator do no have to come first, if they do come in the middle this
247
247
library will scan the object, find the discriminator field, then rewind and
248
248
parse the object normally.
249
+
250
+
251
+
## Full support for json-in-json.
252
+
253
+
Some times your json objects could contain arbitrary json structures,
254
+
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