SERIALIZE-HIDDEN attribute
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Indicates whether a temp-table field or ProDataSet name is written when the temp-table or ProDataSet is serialized, for example into JSON or XML.
Data type: LOGICAL
Access: Readable/Writeable
Applies to: Buffer-field object handle, ProDataSet object handle
This attribute's purpose overlaps with the XML-NODE-TYPE attribute. Because of this overlap, the attributes interact as follows:
- The WRITE-XML( ) method always uses the XML-NODE-TYPE attribute value. If you set a value for the XML-NODE-TYPE attribute, it keeps that value regardless of how you set the SERIALIZE-HIDDEN attribute.
- If you do not set the XML-NODE-TYPE attribute and set the SERIALIZE-HIDDEN attribute to
TRUE, the AVM sets XML-NODE-TYPE to
"HIDDEN". - If you do not set the XML-NODE-TYPE attribute and set the SERILIAZE-HIDDEN attribute to
FALSE, the AVM sets XML-NODE-TYPE to
"ELEMENT". - If you do not set either attribute, the AVM sets XML-NODE-TYPE to
"ELEMENT"and sets SERIALIZE-HIDDEN to FALSE.
This attribute does not apply to database buffer fields.
For more information about using this attribute, see the documentation on working with JSON.
See also
WRITE-JSON( ) method, WRITE-XML( ) method, XML-NODE-TYPE attribute