Core LibraryunreleasedAPI Reference

Choose documentation 2

latest

Current version

latest
English

Unreleased libtmux has not been released. Its API may change during development. This site's structure and URLs may change too.

module libtmux-ocaml latest

Libtmux_json.Expr

Portable scalar pane expressions. See the wire subset for canonical fields, operators and bounds.

Source and package
Qualified name
Libtmux_json.Expr
Declared in
Libtmux_json
Package
libtmux-json
Source
json/libtmux_json.mli
module Expr

Public owner: Libtmux_json

Members4#

Common operations2#

  • decode function Validate the supplied tree, including duplicate properties, before typed construction. Only the shared scalar pane registry and Boolean composition are accepted. Java regex, relationships and native extension fields return Unsupported. Numbers must fit signed 32-bit integers.
  • of_string function Enforce 64 KiB and 32 JSON nesting levels before parsing; require valid UTF-8 JSON. Expressions have at most 1,024 nodes and membership lists at most 256 values. Errors include a JSON pointer, never the whole input.

Other members2#

  • encode function
  • to_string function Apply the same bounds and subset when encoding. Text with invalid UTF-8 has no representation in this schema. These functions perform no I/O.

Guides#

Pages that discuss Expr.

Esc

Type to search.

Reference previewOpen reference