On this page
io.github.libtmux.jackson.FilterJson.FilterJson
- Module
- io.github.libtmux.jackson.FilterJson
- Package
- io.github.libtmux:libtmux
- Source
- libtmux-jackson/src/main/java/io/github/libtmux/jackson/FilterJson.java
-
The versioned wire form of a filter expression.
<p>Writing and reading both require a model. Expressions hold executable accessors and navigators, while documents carry only their ids; the model is the authority that binds one to the other. Regex operands retain
java.util.regex.Patternsyntax and flag bits.<p>Everything unrecognised fails. An expression read wrongly does not announce itself — it silently matches the wrong things, and a caller who wanted a filter gets one, just not theirs.
5 declared, 0 inherited
Members
- SCHEMA attribute The schema this version reads and writes. Immutable once published.
- read method Reads a document back as an expression over the given model.
- readString method Reads a document from JSON text.
- write method Writes an expression as a document for the model that declared all of its fields and relations.
- writeString method Writes an expression as compact JSON text.