%pkg.isc.rest.openAPI.customizableJSONAdaptor
abstract class %pkg.isc.rest.openAPI.customizableJSONAdaptor
JSON Adaptor that supports custom JSON generation / addition methodsMethod Inventory
Parameters
parameter %JSONFIELDNAME = _id;
parameter %JSONINCLUDEID = 1;
Methods
method %JSONExport(mapping="") as %Status
Writes the JSON representation of this object
method %JSONExportCustom(ByRef stream As %Stream.Object, mapping As %String = "")
method %JSONExportToStream(ByRef export As %Stream.Object, mapping As %String = "") as %Status
Serialize a JSON enabled class as a JSON document and write it to a stream.
mappingName is the name of the mapping to use for the export. The base mapping is represened by "" and is the default.
mappingName is the name of the mapping to use for the export. The base mapping is represened by "" and is the default.
method %JSONExportToString(ByRef str, mapping="") as %Status
Writes the JSON representation of this object to a string