Class JsonToLogicalTypeConverter

java.lang.Object
io.confluent.kafka.schemaregistry.type.logical.json.JsonToLogicalTypeConverter

public class JsonToLogicalTypeConverter extends Object
Converts JSON Schema to logical type Schema.

Default-value path emission. ARRAY appends [0] for the element type (matching the Avro convention); MAP appends [0] for key and [1] for value; UNION appends the branch index; STRUCT appends the field position. See LogicalType.getDefaultValues().