FilterJson
The versioned wire form of a filter expression.
Source and package
- Qualified name
-
io.github .libtmux .jackson. Filter Json - Package
- io.github.libtmux.jackson
- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux-jackson/src/main/java/io/github/libtmux/jackson/FilterJson.java
-
Description#
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.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.
Members5#
- read method Reads a document back as an expression over the given model.
- readString method Reads a document from JSON text.
- SCHEMA: String attribute The schema this version reads and writes. Immutable once published.
- 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.