[F] $attribute
function $attribute(context, target): voidSpecify that the target property should be encoded as an XML attribute instead of node.
Parameters
| Parameter | Type |
|---|---|
context | DecoratorContext |
target | ModelProperty |
Returns
void
function $attribute(context, target): voidSpecify that the target property should be encoded as an XML attribute instead of node.
| Parameter | Type |
|---|---|
context | DecoratorContext |
target | ModelProperty |
void