FugueCodec<T> class
JSON codec for a Fugue list, matching the library's Codec convention.
Delegates per-element (de)serialisation to element; the block/run-length framing is provided by Fugue.encode / Fugue.decode. One row per block, so a contiguous run serialises to a single entry.
Constructors
-
FugueCodec(Codec<
T> element) -
Wraps an
elementcodec for the value typeT.const
Properties
Methods
-
decode(
Object? json) → Fugue< T> -
override
-
encode(
Fugue< T> value) → Object? -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited