Skip to main content


abstract class Ens.Util.JSON

Method Inventory


classmethod GetXDataAsJSONClose(ByRef qHandle As %Binary) as %Status
classmethod GetXDataAsJSONExecute(ByRef qHandle As %Binary, pClassname As %String = "", pXDataName As %String = "") as %Status
classmethod GetXDataAsJSONFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status
classmethod JSONStreamToObject(pStream, Output pObject As %RegisteredObject, pClass As %String, pIgnoreUnknownProps As %Boolean) as %Status
classmethod JSONStreamToObjectArray(pStream, Output pArray, pClass As %String, pIgnoreUnknownProps As %Boolean) as %Status
classmethod ObjectToJSONStream(pObject As %RegisteredObject, ByRef pStream, pFormat As %String = "iw") as %Status


query GetXDataAsJSON(pClassname As %String = "", pXDataName As %String = "")
Selects XDataAsJSON
Returns XData model as JSON
Requires XData Object to extend %JSON.Adaptor Protected by resource determined by XDataName
RuleDefinition : To read: one of "%Ens_Rules:READ,%Ens_RoutingRules:READ,%Ens_BusinessRules:READ,%Ens_Code:READ"


FeedbackOpens in a new tab