text_lint.operations.lookups.as_json.JsonLookup
- class text_lint.operations.lookups.as_json.JsonLookup(lookup_name: str, lookup_expression: LookupExpression, lookup_params: AliasLookupParams, requesting_operation_name: str)[source]
Bases:
LookupEncoderBaseJsonLookup operation for ResultForest instances.
- apply(state: LookupState) None[source]
Create a JSON representation of the current ResultForest location.
- encoder_class
alias of
ResultTreeEncoder