Skip to main content

Module value

Module value 

Source
Expand description

The dynamic value model — the Rust replacement for Java varar-core’s Object with instanceof Map/List/String duck-typing (see CellDiff.java, DocStringDiff.java, ParamDiff.java). One closed enum carries handler arguments, handler returns, thread-through state, row objects, table rows, and the conformance wire values.

Equality is derived PartialEq, the analog of Java’s Objects.equals: Int(2) != Float(2.0) (Java Integer(2).equals(Double(2.0)) is false), and Map equality is order-insensitive (BTreeMap), matching Map.of(...) vs LinkedHashMap equality in the Java tests.

Enums§

Value
A dynamic JSON-ish value. BTreeMap gives order-insensitive map equality and a free recursive key-sort for canonical JSON.