| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
FAIL_INVALID_SCHEMA |
"json.fail.invalid.schema" |
public static final boolean |
FAIL_INVALID_SCHEMA_DEFAULT |
false |
public static final String |
FAIL_INVALID_SCHEMA_DOC |
"Whether to fail deserialization if the payload does not match the schema" |
public static final String |
FAIL_UNKNOWN_PROPERTIES |
"json.fail.unknown.properties" |
public static final boolean |
FAIL_UNKNOWN_PROPERTIES_DEFAULT |
true |
public static final String |
FAIL_UNKNOWN_PROPERTIES_DOC |
"Whether to fail deserialization if unknown JSON properties are encountered" |
public static final String |
JSON_KEY_TYPE |
"json.key.type" |
public static final String |
JSON_KEY_TYPE_DOC |
"Classname of the type that the message key should be deserialized to" |
public static final String |
JSON_VALUE_TYPE |
"json.value.type" |
public static final String |
JSON_VALUE_TYPE_DOC |
"Classname of the type that the message value should be deserialized to" |
public static final String |
TYPE_ALLOWED_PACKAGES |
"json.type.allowed.packages" |
public static final String |
TYPE_ALLOWED_PACKAGES_DEFAULT |
"*" |
public static final String |
TYPE_ALLOWED_PACKAGES_DOC |
"Comma-separated package prefixes whose classes may be resolved from the schema\'s javaType property. Use \"*\" (the default) to allow any class. An empty value disables javaType resolution entirely." |
public static final String |
TYPE_PROPERTY |
"type.property" |
public static final String |
TYPE_PROPERTY_DEFAULT |
"javaType" |
public static final String |
TYPE_PROPERTY_DOC |
"Property on the JSON Schema that contains the fully-qualified classname" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
DEFAULT_PROPERTY_INCLUSION |
"json.default.property.inclusion" |
public static final String |
DEFAULT_PROPERTY_INCLUSION_DOC |
"Controls the inclusion of properties during serialization" |
public static final String |
FAIL_INVALID_SCHEMA |
"json.fail.invalid.schema" |
public static final boolean |
FAIL_INVALID_SCHEMA_DEFAULT |
false |
public static final String |
FAIL_INVALID_SCHEMA_DOC |
"Whether to fail serialization if the payload does not match the schema" |
public static final String |
FAIL_UNKNOWN_PROPERTIES |
"json.fail.unknown.properties" |
public static final boolean |
FAIL_UNKNOWN_PROPERTIES_DEFAULT |
true |
public static final String |
FAIL_UNKNOWN_PROPERTIES_DOC |
"Whether to fail serialization if unknown JSON properties are encountered" |
public static final String |
JSON_INDENT_OUTPUT |
"json.indent.output" |
public static final boolean |
JSON_INDENT_OUTPUT_DEFAULT |
false |
public static final String |
JSON_INDENT_OUTPUT_DOC |
"Whether JSON output should be indented (\"pretty-printed\")" |
public static final String |
ONEOF_FOR_NULLABLES |
"json.oneof.for.nullables" |
public static final boolean |
ONEOF_FOR_NULLABLES_DEFAULT |
true |
public static final String |
ONEOF_FOR_NULLABLES_DOC |
"Whether JSON schemas derived from objects will use oneOf for nullable fields" |
public static final String |
SCHEMA_SCAN_PACKAGES |
"json.schema.scan.packages" |
public static final String |
SCHEMA_SCAN_PACKAGES_DOC |
"A list of packages to scan for Jackson annotations when deriving schemas from objects" |
public static final String |
SCHEMA_SPEC_VERSION |
"json.schema.spec.version" |
public static final String |
SCHEMA_SPEC_VERSION_DOC |
"The specification version to use for JSON schemas derived from objects, one of \'draft_4\', \'draft_6\', \'draft_7\', or \'draft_2019_09\'" |
public static final String |
WRITE_DATES_AS_ISO8601 |
"json.write.dates.iso8601" |
public static final boolean |
WRITE_DATES_AS_ISO8601_DEFAULT |
false |
public static final String |
WRITE_DATES_AS_ISO8601_DOC |
"Whether to write dates as ISO 8601 strings" |
Copyright © 2026 Confluent, Inc.. All rights reserved.