Using JSON Using JSON in ObjectScript JSON Features in Action Overview of Dynamic Entity Methods Creating and Modifying Dynamic Entities Using JSON Literal Constructors Using Dynamic Expressions and Dot Syntax Using %Set(), %Get(), and %Remove() Method Chaining Error Handling Converting Dynamic Entities to and from JSON Iteration and Sparse Arrays Iterating over a Dynamic Entity with %GetNext() Understanding Sparse Arrays and Unassigned Values Using %Push and %Pop with Dynamic Arrays Working with Datatypes Discovering the Datatype of a Value with %GetTypeOf() Overriding a Default Datatype with %Set() or %Push() Resolving JSON Null and Boolean Values Resolving Null, Empty String, and Unassigned Values Using the JSON Adaptor Exporting and Importing Mapping with Parameters Using XData Mapping Blocks Formatting JSON %JSON Quick Reference Quick Reference for Dynamic Entity Methods Method Details