SingleValueParams

Mixin template that puts in a value called "value" of type T. Puts in a custom deserializer that allows this struct to be both deserialized from a full struct (if a struct has been sent) or any other value, directly getting assigned to the T value; member.

This means T must not be anything that deserializes from a struct, as that branch will never be called.

@serdeIgnoreUnexpectedKeys
mixin template SingleValueParams (
T
string valueName = "value"
) if (
!is(T == struct) &&
!is(T == Dummy[string],
Dummy
)
) {}

Alias This

_implicitValue

Members

Functions

deserializeFromIon
IonException deserializeFromIon(char[][] symbolTable, IonDescribedValue fullValue)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_implicitValue
T _implicitValue;
Undocumented in source.

Meta