Skip to content

[I] EncodeData

Serialization instructions stored by @encode, pairing an encoding name with its wire scalar type.

PropertyTypeDescription
encoding?stringKnown encoding key. Can be undefined when @encode(string) is used on a numeric or boolean type. For numeric this means using the base10 decimal representation of the number. For boolean this means using true or false.
typeScalarScalar used for the encoded representation; defaults to string when @encode omits it.