[V] $encode
const $encode: EncodeDecorator;Records how a scalar or property is serialized, validating known encodings against the target and wire types.
Named encodings default to a string representation; passing the string scalar encodes numeric or boolean values as text.