Skip to main content

%pkg.isc.json.generator

abstract class %pkg.isc.json.generator

Generator methods for %pkg.isc.json.adaptor.

This class is used internally to %pkg.isc.json.adaptor. You should not make direct use of it within your applications. There is no guarantee made about either the behavior or future operation of this class.

Method Inventory

Methods

classmethod GenSetField(fieldName As %String, indent As %String, valueText As %String, typeText As %String = "")
Generate code to set the fieldName in the JSON to the provided valueText, with the given type
classmethod IsTypeJSONEnabled(pType As %Dictionary.Classname, ByRef visited) as %Boolean
Returns true if a type is JSON-enabled (based on compiled class / class definition metadata)
classmethod LeftSequenceClass(class As %String, ByRef seqArray)
Return all super classes in sequence of left to right with super class immediately following its child.
FeedbackOpens in a new tab