A2uiCoreCatalogDefinitionSerializer


class A2uiCoreCatalogDefinitionSerializer


Serializes an A2uiCatalogDefinition into JSON Schema representations.

Traversal and JSON formatting are computed lazily and cached per serializer instance, so keep the instance to reuse the results.

Summary

Public properties

A2uiCatalogDefinition

the catalog to serialize

Map<String, Any?>

The serialized JSON Schema Map representation of catalog.

String

The serialized JSON Schema string representation of catalog.

Public constructors

A2uiCoreCatalogDefinitionSerializer

Added in 1.0.0-alpha03
A2uiCoreCatalogDefinitionSerializer(catalog: A2uiCatalogDefinition)
Parameters
catalog: A2uiCatalogDefinition

the catalog to serialize

Public properties

catalog

Added in 1.0.0-alpha03
val catalog: A2uiCatalogDefinition

the catalog to serialize

jsonSchemaMap

Added in 1.0.0-alpha03
val jsonSchemaMap: Map<String, Any?>

The serialized JSON Schema Map representation of catalog.

jsonSchemaString

Added in 1.0.0-alpha03
val jsonSchemaString: String

The serialized JSON Schema string representation of catalog.