Skip to content

[F] $encodedName

function $encodedName(
context,
target,
mimeType,
name
): void;

Registers a serialization name for a type and MIME type, replacing an existing name for that pair. MIME types must not have structured syntax suffixes; resolution maps application/merge-patch+json to application/json.

ParameterType
contextDecoratorContext
targetType
mimeTypestring
namestring

void