displayEx
Format 1
Format 2
void displayEx( stream, hasDummyRoot ) |
Format 3
void displayEx( stream, hasDummyRoot, encoding ) |
Syntax rules
2. hasDummyRoot is an alphanumeric data item or literal hosting a boolean value (e.g. "0", "1", "true", "false", "yes", "no", "on" or "off"). If the boolean value is TRUE, then the top level item of Record-Definition is discarded and will not appear in the JSON stream . This parameter can be NULL, in such case, FALSE is assumed.
3. encoding is a string literal or data item that specifies the character set to be used in the JSON stream. It accepts the same values as the
iscobol.encoding * configuration property.
General rules
1. The MIME type is automatically applied.
2. hasDummyRoot is considered only for the JSON type.