Skip to main content

HS.JSON.Composable

class HS.JSON.Composable extends %Library.RegisteredObject, %Collection.AbstractIterator

Implements a composable interface for writing complex JSON

Property Inventory

Method Inventory

Properties

property Components as list of %RegisteredObject;
Sub-components to compose
Property methods: ComponentsBuildValueArray(), ComponentsCollectionToDisplay(), ComponentsCollectionToOdbc(), ComponentsDisplayToCollection(), ComponentsGet(), ComponentsGetObject(), ComponentsGetObjectId(), ComponentsGetSwizzled(), ComponentsIsValid(), ComponentsOdbcToCollection(), ComponentsSet(), ComponentsSetObject(), ComponentsSetObjectId()

Methods

method GetAt(pKey As %CacheString = "") as %CacheString
Inherited description: Finds and returns the value of the element associated with key.

GetAt returns the value of the element associated with key or null string ("") if no element is found.

method GetNext(ByRef pKey As %CacheString) as %CacheString
Inherited description: Finds and returns the value of the element at the location after key in the iteration. If key is a null string (""), it returns the value of the first element in the array.

The value of key, which is passed by reference, is updated to the key value of the returned element or null string ("") if key is at the end of the array.

Inherited description: Finds and returns the key value of the element at the location following key in the iteration. If key is a null string (""), then Next returns the key value for the first element in the array.

Inherited Members

Inherited Methods

FeedbackOpens in a new tab