ReflectionClassJsonObjectSchemaGenerator
class ReflectionClassJsonObjectSchemaGenerator(json: Json, config: JsonSchemaConfig) : AbstractSchemaGenerator<KClass<out Any>, JsonObject, Unit> (source)
A generator class for creating JSON object schemas using reflection-based introspection.
This class utilizes Kotlin's reflection capabilities to inspect the structure of a target class and generate a corresponding JSON schema representation. It relies on the Json serializer and a customizable configuration defined in JsonSchemaConfig.
Parameters
config
Configuration settings for schema customization.