Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

class libtmux-java latest

FilterJson

The versioned wire form of a filter expression.

Source and package
Qualified name
io.github.libtmux.jackson.FilterJson
Package
io.github.libtmux.jackson
Distribution
io.github.libtmux:libtmux
Source
libtmux-jackson/src/main/java/io/github/libtmux/jackson/FilterJson.java
class io.github.libtmux.jackson.FilterJson

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.Pattern syntax 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.
Esc

Type to search.

Reference previewOpen reference