InlineJsonWriter (Inline Json Writer)

This feature supports custom JSON code.

You achieve this using a program object as per the example in the Programs folder of the jsonToolkit palette. You can extend BAbstractInlineJsonWriter. Extending the abstract class would be preferred where the program object may be widely distributed, as code contained in a module is easier to maintain.

Figure 100.   InlineJsonWriter code properties
Image

To use this program object, drag it from the Programs folder in the jsonToolkit palette to the Config folder in the station. To open this AX Property Sheet, double-click the InlineJsonWriter component in the station.

To view the example code, right–click the Program node, clickViews > Program Editor and click the Edit tab.

In addition to the standard properties (Status and Fault Cause), these properties support the InlineJsonWriter.

Property Value Description
Class Name read-only Reports the name that describes this object. Each object is created from a single class. One class can instantiate multiple objects.
Class File read-only Reports the name of the file that contains the custom program.
Dependencies read-only Identifies the dependent modules.
Signature read-only Identifies the mathematical scheme used to verify the authenticity of the program.