SERIALIZE-HIDDEN attribute
Indicates whether this field is written when the temp-table is serialized, for example into JSON or XML.
Data type: LOGICAL
Access: Readable/Writeable
Applies to: Buffer-field 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.
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
OpenEdge Release 10.2B
|