Skip to main content
Version: Latest (0.60.x)

[F] $attribute

function $attribute(context, target): void

Specify that the target property should be encoded as an XML attribute instead of node.

Parameters

ParameterType
contextDecoratorContext
targetModelProperty

Returns

void