A2uiCoreCatalogSerializer


public final class A2uiCoreCatalogSerializer


Serializes an A2uiCoreCatalog into JSON Schema representations.

Traversal and JSON formatting are computed lazily and cached per serializer instance.

Summary

Public constructors

Public methods

final @NonNull A2uiCoreCatalog

the catalog to serialize

final @NonNull Map<@NonNull StringObject>

The serialized JSON Schema Map representation of catalog.

final @NonNull String

The serialized JSON Schema string representation of catalog.

Public constructors

A2uiCoreCatalogSerializer

Added in 1.0.0-alpha01
public A2uiCoreCatalogSerializer(@NonNull A2uiCoreCatalog catalog)
Parameters
@NonNull A2uiCoreCatalog catalog

the catalog to serialize

Public methods

getCatalog

Added in 1.0.0-alpha01
public final @NonNull A2uiCoreCatalog getCatalog()

the catalog to serialize

getJsonSchemaMap

Added in 1.0.0-alpha01
public final @NonNull Map<@NonNull StringObjectgetJsonSchemaMap()

The serialized JSON Schema Map representation of catalog.

getJsonSchemaString

Added in 1.0.0-alpha01
public final @NonNull String getJsonSchemaString()

The serialized JSON Schema string representation of catalog.