SerializationClassJsonSchemaGenerator
class SerializationClassJsonSchemaGenerator(json: Json, config: JsonSchemaConfig) : AbstractSchemaGenerator<SerialDescriptor, JsonSchema> (source)
A generator for producing JSON Schema representations from kotlinx.serialization descriptors.
This class utilizes kotlinx.serialization introspection to analyze SerialDescriptor instances and generate JSON Schema objects. It is built on top of the AbstractSchemaGenerator and works with a configurable JsonSchemaConfig to define schema generation behavior.
Parameters
config
Configuration for generating JSON Schemas, such as formatting details and handling of optional nullable properties. Defaults to JsonSchemaConfig.Default.