We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.useContextVars()
1 parent 7899a23 commit e85a1a8Copy full SHA for e85a1a8
README.md
@@ -547,7 +547,8 @@ These options can be used in all parsers.
547
You can use some special fields while parsing to traverse your structure.
548
These context variables will be removed after the parsing process.
549
Note that this feature is turned off by default for performance reasons, and
550
-you need to call `.useContextVars()` to enable it.
+you need to call `.useContextVars()` at the top level `Parser` to enable it.
551
+Otherwise, the context variables will not be present.
552
553
- `$parent` - This field references the parent structure. This variable will be
554
`null` while parsing the root structure.
0 commit comments