Einhugur JSON III Serialization Framework for Xojo

JSONSerializationIII.JSONSerializerIII Class

A class to serialize complex class structures to JSON with almost no coding needed.

For a class to be serialisable then it must have default constructor with no parameters.

Object
   JSONSerializerIII

class JSONSerializationIII.JSONSerializerIII

Constructors

JSONSerializerIIIA constructor with no parameters for the JSONSerializerII class.

Properties

ThrowIfMissingPropertySet this property to true if you want to throw exceptions on missing properties when deserializing.

Methods

AddKnownClassAdds known classes which is required when de-serializing polymorphic structures
DeSerializeDe-serialize's a class structure
shared DeSerializeFromStringShared convenience method to do one line de-serialization.
SerializeSerialize's a class structure
shared SerializeToStringShared convenience method to do one line serialization.

Constants

Version = 2.0

Supported Platforms:

  • macOS Intel 32 bit
  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit
  • iOS