Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : SERIALIZE-NAME attribute


Indicates the name of a ProDataSet, a temp-table, a temp-table buffer, or a temp-table buffer-field object as it should appear when serialized, for example into JSON or XML.
Data type: CHARACTER
Access: Readable/Writeable
Applies to: Buffer object handle, Buffer-field object handle, ProDataSet object handle, Temp-table object handle
This attribute's purpose overlaps with the XML-NODE-NAME attribute. Because of this overlap, the attributes interact as follows:
*The READ-XML( ) and WRITE-XML( ) methods always use the XML-NODE-NAME attribute value. If you set a value for the XML-NODE-NAME attribute, it keeps that value regardless of how you set the SERIALIZE-NAME attribute.
*If you do not set the XML-NODE-NAME attribute and set the SERIALIZE-NAME attribute, the AVM sets XML-NODE-NAME equal to SERIALIZE-NAME.
*If you do not set either attribute, the AVM sets both to the ABL object name.
Use this attribute when the serialized name either contains invalid characters for an ABL name or the serialized name is an ABL keyword.
For more information about using this attribute, see the documentation on working with JSON.

See also

READ-JSON( ) method, READ-XML( ) method, WRITE-JSON( ) method, WRITE-XML( ) method, XML-NODE-NAME attribute