This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > %SYS namespace > %ZEN.Auxiliary.jsonArrayProvider

%ZEN.Auxiliary.jsonArrayProvider

class %ZEN.Auxiliary.jsonArrayProvider extends %ZEN.Auxiliary.jsonProvider, %ZEN.Component.dataView

A specialized version of the JSON provider pulls a subset of data from a master JSON provider. This is intended for cases where there is a subset of data within a larger content object and the application needs to see this data independently. A typical case is an array within a containing object.
This component ignores all of the data source callback methods inheritied from the jsonProvider class.

Property Inventory

Method Inventory

Properties

property arrayName as %ZEN.Datatype.string [ InitialExpression = "children" ];
Name of the property within the base JSON model that contains the array projected by this provider.
Property methods: arrayNameDisplayToLogical(), arrayNameGet(), arrayNameIsValid(), arrayNameLogicalToDisplay(), arrayNameLogicalToOdbc(), arrayNameNormalize(), arrayNameSet()

Methods

clientmethod getContentObject() [ Language = javascript ]
Return the client-side JSON data as an object or null.

Inherited Members

Inherited Properties

Inherited Methods

Feedback