Automatic, name-driven encode-time validation: walks value and
checks everyDXNStruct or registered application class instance
anywhere in it against its own schema, wherever it turns out to be.
Symmetric to how decode checks every named struct unconditionally.
encode/encodeBinary call this automatically by default (opt out
with validate: false). Returns the (possibly-coerced) tree.
Automatic, name-driven encode-time validation: walks
valueand checks everyDXNStructor registered application class instance anywhere in it against its own schema, wherever it turns out to be. Symmetric to how decode checks every named struct unconditionally.encode/encodeBinarycall this automatically by default (opt out withvalidate: false). Returns the (possibly-coerced) tree.