SERIALIZE-NAME attribute
- Last Updated: February 11, 2026
- 2 minute read
- OpenEdge
- Version 13.0
- Documentation
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( )andWRITE-XML( )methods always use theXML-NODE-NAMEattribute value. If you set a value for theXML-NODE-NAMEattribute, it keeps that value regardless of how you set theSERIALIZE-NAMEattribute. - If you do not set the
XML-NODE-NAMEattribute and set theSERIALIZE-NAMEattribute, the AVM setsXML-NODE-NAMEequal toSERIALIZE-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.
This attribute should not contain a colon (:). In XML, a colon represents
the namespace prefix delimiter
(namespace-prefix:value). If a
colon appears in an XML document's element or attribute name, it is interpreted as
namespace-qualified and does not match the actual dataset, temp-table or temp-table field
name. This leads to missing data or parsing errors.
This attribute does not apply to database buffers and fields.
- It is not possible to change the element names to something different for each individual record output.
- The first element output for a record contains the node name with "Row" appended to it.
For more information about using this attribute, see the Use XML with ABL Applications or Use JSON with ABL Applications.
See also
READ-JSON( ) method, READ-XML( ) method, WRITE-JSON( ) method, WRITE-XML( ) method, XML-NODE-NAME attribute