[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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
context | DecoratorContext |
target | Type |
mimeType | string |
name | string |
Returns
Section titled “Returns”void