Home / InterSystems Programming Tools Index / Tools Index / JSON

InterSystems Programming Tools Index
Previous section           Next section
InterSystems: The power behind what matters   

Create, use, and modify JSON-format objects and arrays; serialize objects as JSON; create objects from JSON.
Background Information
JSON (JavaScript Object Notation) is a lightweight, human-readable data interchange format, described by RFC 7159 and ECMA-404. It is commonly used in client/server communications.
Available Tools
dynamic object and dynamic array classes
A dynamic object is a special kind of InterSystems IRIS object that has no schema. Instead, such an object is empty, and you can create properties simply by using assignment statements. A dynamic array is similar.
Dynamic objects and arrays are defined by three classes: %DynamicObject, %DynamicArray, and %DynamicAbstractObject (the common superclass).
These classes provide methods to serialize themselves to and from JSON. For details, see Using JSON.
Availability: All namespaces.
dynamic object and dynamic array expressions
ObjectScript provides support for JSON-format object and array expressions, which return instances of %DynamicObject and %DynamicArray, respectively. For details, see Using JSON.
Availability: All namespaces.

Previous section           Next section
View this book as PDF   |  Download all PDFs
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-04-10 14:45:56