Progress.IO.JsonSerializer provides functionality to serialize and deserialize ABL class-based objects in JSON format. The serialization and deserialization are performed in conjunction with classes that inherit from Progress.IO.InputStream and Progress.IO.OutputStream. Progress.IO.JsonSerializer formats the data, and the stream classes determine where the data comes from and goes to. For example, Progress.IO.FileInputStream and Progress.IO.FileOutputStream are used for serialization to and deserialization from a file.

Serializable:

No

Constructors

PUBLIC JsonSerializer ( INPUT formatted AS LOGICAL )
formatted
When formatted is TRUE, the JSON string is formatted in a hierarchical manner using white space, carriage returns, and line feeds.

Super Class

Progress.Lang.Object class

Interfaces

This class does not implement interfaces.

Properties

Formatted property

Public Methods

Deserialize( ) method (JsonSerializer) Serialize( ) method (JsonSerializer)

Public Events

This class does not contain events.

Notes

  • See the entry for the Serialize( ) method for more information about which class members are serialized and the format of the object serialization.

See also

Progress.IO.FileInputStream class, Progress.IO.FileOutputStream class, Progress.IO.InputStream class, Progress.IO.OutputStream class