envzn
0.8 · beta · not released

Library / Misc / Serialisation / Reconstructable

INTERFACE

Reconstructable

Reconstructable — the type-side read contract, the mirror of Serializable. reconstruct fills SELF from a source: it pulls each field from the Reconstructor (a nested object reconstructs its child in place), then calls RESTORE. mode is LENIENT (an unknown key skipped, a missing key defaulted) or STRICT (either is a FAILURE) — Constitution I.P(k.i). A type that is only ever written implements Serializable alone.

Methods 1

MODIFY METHOD reconstruct(MUTABLE REFERENCE Reconstructor source, ParseMode mode) RETURNS STATUS
modifies