Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ACCEPT_EMPTY_STRING_AS_NULL - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Accept empty string as null for object types.
- ACCEPT_SINGLE_VALUE_AS_ARRAY - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Accept single values as arrays.
- access() - Element in annotation interface cloud.opencode.base.json.annotation.JsonProperty
-
The access type for this property.
- actual() - Method in record class cloud.opencode.base.json.exception.JsonSchemaException.ValidationError
-
Returns the value of the
actualrecord component. - add(boolean) - Method in class cloud.opencode.base.json.JsonNode.ArrayNode
- add(JsonNode) - Method in class cloud.opencode.base.json.JsonNode.ArrayNode
- add(Number) - Method in class cloud.opencode.base.json.JsonNode.ArrayNode
- add(String) - Method in class cloud.opencode.base.json.JsonNode.ArrayNode
- add(String, JsonNode) - Method in class cloud.opencode.base.json.patch.JsonPatch.Builder
-
Adds an add operation.
- ADD - Enum constant in enum class cloud.opencode.base.json.patch.JsonPatch.Operation
- addAdapter(JsonTypeAdapter) - Method in class cloud.opencode.base.json.spi.JsonModule.SimpleModule
-
Adds a type adapter to this module.
- addArray() - Method in class cloud.opencode.base.json.JsonNode.ArrayNode
- ADDED - Enum constant in enum class cloud.opencode.base.json.diff.JsonDiff.DiffType
-
Value was added - 值被添加
- addError(JsonSchemaException.ValidationError) - Method in class cloud.opencode.base.json.exception.JsonSchemaException.Builder
-
Adds a validation error.
- addError(String, String, String) - Method in class cloud.opencode.base.json.exception.JsonSchemaException.Builder
-
Adds a validation error with path, keyword, and message.
- addFactory(JsonTypeAdapterFactory) - Method in class cloud.opencode.base.json.spi.JsonModule.SimpleModule
-
Adds a type adapter factory to this module.
- addKeyAdapter(Class, JsonTypeAdapter) - Method in interface cloud.opencode.base.json.spi.JsonModule.SetupContext
-
Registers a key adapter for map key serialization.
- addKeyAdapter(Class, JsonTypeAdapter) - Method in class cloud.opencode.base.json.spi.JsonModule.SimpleModule
-
Adds a key adapter to this module.
- addMixin(Class, Class) - Method in class cloud.opencode.base.json.MixinSource
-
Registers a mixin annotation class for a target type.
- addMixin(Class, Class) - Method in class cloud.opencode.base.json.OpenJson
-
Adds a mixin annotation class for a target type.
- addMixin(Class, Class) - Method in interface cloud.opencode.base.json.spi.JsonModule.SetupContext
-
Registers a mixin annotation class for a target type.
- addMixin(Class, Class) - Method in class cloud.opencode.base.json.spi.JsonModule.SimpleModule
-
Adds a mixin mapping to this module.
- addNull() - Method in class cloud.opencode.base.json.JsonNode.ArrayNode
- addObject() - Method in class cloud.opencode.base.json.JsonNode.ArrayNode
- ADDRESS - Enum constant in enum class cloud.opencode.base.json.annotation.JsonMask.MaskType
-
Address masking - detailed address hidden.
- addTypeAdapter(JsonTypeAdapter) - Method in interface cloud.opencode.base.json.spi.JsonModule.SetupContext
-
Registers a type adapter.
- addTypeAdapterFactory(JsonTypeAdapterFactory) - Method in interface cloud.opencode.base.json.spi.JsonModule.SetupContext
-
Registers a type adapter factory.
- ALLOW_COMMENTS - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Allow comments in JSON (non-standard).
- ALLOW_SINGLE_QUOTES - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Allow single quotes instead of double quotes (non-standard).
- ALLOW_TRAILING_COMMA - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Allow trailing comma in arrays and objects (non-standard).
- ALLOW_UNQUOTED_FIELD_NAMES - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Allow unquoted field names (non-standard).
- alphabetic() - Element in annotation interface cloud.opencode.base.json.annotation.JsonPropertyOrder
-
Whether to sort remaining properties alphabetically.
- ALWAYS - Enum constant in enum class cloud.opencode.base.json.annotation.JsonInclude.Include
-
Always include the property, regardless of its value.
- ANY - Enum constant in enum class cloud.opencode.base.json.annotation.JsonAutoDetect.Visibility
-
Any visibility level (including private).
- ANY - Enum constant in enum class cloud.opencode.base.json.annotation.JsonFormat.Shape
-
Default shape based on type.
- append(int) - Method in class cloud.opencode.base.json.path.JsonPointer
-
Appends an array index to this pointer.
- append(String) - Method in class cloud.opencode.base.json.path.JsonPointer
-
Appends a property name to this pointer.
- apply(JsonNode) - Method in class cloud.opencode.base.json.patch.JsonMergePatch
-
Applies this patch to a target.
- apply(JsonNode) - Method in class cloud.opencode.base.json.patch.JsonMergePatch.Builder
-
Builds and applies the patch to a target.
- apply(JsonNode) - Method in class cloud.opencode.base.json.patch.JsonPatch
-
Applies this patch to a JSON document.
- apply(JsonNode, JsonNode) - Static method in class cloud.opencode.base.json.patch.JsonMergePatch
-
Applies a merge patch to a target.
- array() - Static method in interface cloud.opencode.base.json.JsonNode
-
Creates an empty array node.
- ARRAY - Enum constant in enum class cloud.opencode.base.json.annotation.JsonFormat.Shape
-
Force array output.
- ArrayNode() - Constructor for class cloud.opencode.base.json.JsonNode.ArrayNode
- as() - Element in annotation interface cloud.opencode.base.json.annotation.JsonDeserialize
-
The concrete type to deserialize the value as.
- as() - Element in annotation interface cloud.opencode.base.json.annotation.JsonSerialize
-
The type to serialize the value as (supertype or interface).
- asBigDecimal() - Method in interface cloud.opencode.base.json.JsonNode
-
Returns this node's value as a BigDecimal.
- asBigDecimal() - Method in record class cloud.opencode.base.json.JsonNode.NumberNode
- asBigInteger() - Method in interface cloud.opencode.base.json.JsonNode
-
Returns this node's value as a BigInteger.
- asBigInteger() - Method in record class cloud.opencode.base.json.JsonNode.NumberNode
- asBoolean() - Method in interface cloud.opencode.base.json.JsonNode
-
Returns this node's value as a boolean.
- asBoolean(boolean) - Method in interface cloud.opencode.base.json.JsonNode
-
Returns this node's value as a boolean with default.
- asBoolean(boolean) - Method in record class cloud.opencode.base.json.JsonNode.BooleanNode
- asBoolean(boolean) - Method in record class cloud.opencode.base.json.JsonNode.StringNode
- asDouble() - Method in interface cloud.opencode.base.json.JsonNode
-
Returns this node's value as a double.
- asDouble(double) - Method in interface cloud.opencode.base.json.JsonNode
-
Returns this node's value as a double with default.
- asDouble(double) - Method in record class cloud.opencode.base.json.JsonNode.NumberNode
- asDouble(double) - Method in record class cloud.opencode.base.json.JsonNode.StringNode
- asInt() - Method in interface cloud.opencode.base.json.JsonNode
-
Returns this node's value as an int.
- asInt(int) - Method in interface cloud.opencode.base.json.JsonNode
-
Returns this node's value as an int with default.
- asInt(int) - Method in record class cloud.opencode.base.json.JsonNode.BooleanNode
- asInt(int) - Method in record class cloud.opencode.base.json.JsonNode.NumberNode
- asInt(int) - Method in record class cloud.opencode.base.json.JsonNode.StringNode
- asLong() - Method in interface cloud.opencode.base.json.JsonNode
-
Returns this node's value as a long.
- asLong(long) - Method in interface cloud.opencode.base.json.JsonNode
-
Returns this node's value as a long with default.
- asLong(long) - Method in record class cloud.opencode.base.json.JsonNode.NumberNode
- asLong(long) - Method in record class cloud.opencode.base.json.JsonNode.StringNode
- asString() - Method in interface cloud.opencode.base.json.JsonNode
-
Returns this node's value as a string.
- asString() - Method in record class cloud.opencode.base.json.JsonNode.BooleanNode
- asString() - Method in record class cloud.opencode.base.json.JsonNode.NullNode
- asString() - Method in record class cloud.opencode.base.json.JsonNode.NumberNode
- asString() - Method in record class cloud.opencode.base.json.JsonNode.StringNode
- at(JsonNode, String) - Static method in class cloud.opencode.base.json.OpenJson
-
Evaluates a JSON Pointer against a node.
- at(JsonPointer) - Method in interface cloud.opencode.base.json.JsonNode
-
Navigates to a node using JsonPointer.
- at(String) - Method in interface cloud.opencode.base.json.JsonNode
-
Navigates to a node using JSON Pointer (RFC 6901).
- AUTO - Enum constant in enum class cloud.opencode.base.json.annotation.JsonProperty.Access
-
Property is both serialized and deserialized.
B
- BANK_CARD - Enum constant in enum class cloud.opencode.base.json.annotation.JsonMask.MaskType
-
Bank card masking - middle digits hidden.
- beginArray() - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Consumes the next token and asserts it is START_ARRAY.
- beginArray() - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Begins writing a JSON array.
- beginObject() - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Consumes the next token and asserts it is START_OBJECT.
- beginObject() - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Begins writing a JSON object.
- bindItem(ObjectIdGenerator.IdKey, Object) - Method in interface cloud.opencode.base.json.identity.ObjectIdResolver
-
Binds an object identity key to a POJO instance.
- bindItem(ObjectIdGenerator.IdKey, Object) - Method in class cloud.opencode.base.json.identity.SimpleObjectIdResolver
- BOOLEAN - Enum constant in enum class cloud.opencode.base.json.annotation.JsonFormat.Shape
-
Force boolean output.
- BOOLEAN - Enum constant in enum class cloud.opencode.base.json.stream.JsonToken
-
A JSON boolean value (true or false).
- BooleanNode(boolean) - Constructor for record class cloud.opencode.base.json.JsonNode.BooleanNode
-
Creates an instance of a
BooleanNoderecord class. - bracketArrayNotation() - Method in record class cloud.opencode.base.json.util.JsonFlattener.FlattenConfig
-
Returns the value of the
bracketArrayNotationrecord component. - build() - Method in class cloud.opencode.base.json.exception.JsonSchemaException.Builder
-
Builds the exception.
- build() - Method in class cloud.opencode.base.json.JsonConfig.Builder
-
Builds the configuration.
- build() - Method in class cloud.opencode.base.json.patch.JsonMergePatch.Builder
-
Builds the merge patch.
- build() - Method in class cloud.opencode.base.json.patch.JsonPatch.Builder
-
Builds the patch.
- build() - Method in class cloud.opencode.base.json.security.JsonSecurity.SecurityOptions.Builder
- builder() - Element in annotation interface cloud.opencode.base.json.annotation.JsonDeserialize
-
The builder class to use for constructing immutable types.
- builder() - Static method in exception class cloud.opencode.base.json.exception.JsonSchemaException
-
Creates a new builder.
- builder() - Static method in class cloud.opencode.base.json.JsonConfig
-
Creates a new builder.
- builder() - Static method in class cloud.opencode.base.json.patch.JsonMergePatch
-
Creates a new builder.
- builder() - Static method in class cloud.opencode.base.json.patch.JsonPatch
-
Creates a new builder.
- builder() - Static method in record class cloud.opencode.base.json.security.JsonSecurity.SecurityOptions
- Builder() - Constructor for class cloud.opencode.base.json.exception.JsonSchemaException.Builder
- Builder() - Constructor for class cloud.opencode.base.json.security.JsonSecurity.SecurityOptions.Builder
C
- calculateDepth(JsonNode) - Static method in class cloud.opencode.base.json.security.JsonSecurity
-
Calculates the depth of a JSON tree.
- calculateSize(JsonNode) - Static method in class cloud.opencode.base.json.security.JsonSecurity
-
Calculates the total size (entries) of a JSON tree.
- canonicalize(JsonNode) - Static method in class cloud.opencode.base.json.OpenJson
-
Produces RFC 8785 canonical JSON output for the given node.
- canonicalize(JsonNode) - Static method in class cloud.opencode.base.json.util.JsonCanonicalizer
-
Canonicalizes a JsonNode according to RFC 8785 JCS.
- canonicalize(String) - Static method in class cloud.opencode.base.json.util.JsonCanonicalizer
-
Canonicalizes a JSON string according to RFC 8785 JCS.
- canUseFor(ObjectIdGenerator) - Method in class cloud.opencode.base.json.identity.ObjectIdGenerator
-
Determines whether this generator can be used interchangeably with another.
- canUseFor(ObjectIdGenerator) - Method in class cloud.opencode.base.json.identity.ObjectIdGenerators.IntSequenceGenerator
- canUseFor(ObjectIdGenerator) - Method in class cloud.opencode.base.json.identity.ObjectIdGenerators.PropertyGenerator
- canUseFor(ObjectIdGenerator) - Method in class cloud.opencode.base.json.identity.ObjectIdGenerators.StringIdGenerator
- canUseFor(ObjectIdGenerator) - Method in class cloud.opencode.base.json.identity.ObjectIdGenerators.UUIDGenerator
- canUseFor(ObjectIdResolver) - Method in interface cloud.opencode.base.json.identity.ObjectIdResolver
-
Determines whether this resolver can be used interchangeably with another.
- canUseFor(ObjectIdResolver) - Method in class cloud.opencode.base.json.identity.SimpleObjectIdResolver
- CHANGED - Enum constant in enum class cloud.opencode.base.json.diff.JsonDiff.DiffType
-
Value was changed - 值被更改
- CLASS - Enum constant in enum class cloud.opencode.base.json.annotation.JsonTypeInfo.Id
-
Fully qualified Java class name.
- clear() - Static method in class cloud.opencode.base.json.adapter.JsonAdapterRegistry
-
Clears all custom adapters (keeps built-in).
- clear() - Method in class cloud.opencode.base.json.MixinSource
-
Removes all mixin mappings.
- close() - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Closes this reader and releases resources.
- close() - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Closes this writer and releases resources.
- cloud.opencode.base.json - module cloud.opencode.base.json
-
OpenCode Base JSON Module OpenCode 基础 JSON 模块
- cloud.opencode.base.json - package cloud.opencode.base.json
-
OpenCode JSON - Unified JSON Processing Facade OpenCode JSON - 统一 JSON 处理门面
- cloud.opencode.base.json.adapter - package cloud.opencode.base.json.adapter
-
JSON Adapter - Custom Type Adapters JSON Adapter - 自定义类型适配器
- cloud.opencode.base.json.annotation - package cloud.opencode.base.json.annotation
-
JSON Annotation - JSON Processing Annotations JSON Annotation - JSON 处理注解
- cloud.opencode.base.json.diff - package cloud.opencode.base.json.diff
-
JSON Diff - JSON Object Comparison JSON Diff - JSON 对象比较
- cloud.opencode.base.json.exception - package cloud.opencode.base.json.exception
-
JSON Exception - JSON Processing Exceptions JSON Exception - JSON 处理异常
- cloud.opencode.base.json.identity - package cloud.opencode.base.json.identity
-
JSON Object Identity - Object Identity and Circular Reference Support JSON 对象身份 - 对象身份和循环引用支持
- cloud.opencode.base.json.patch - package cloud.opencode.base.json.patch
-
JSON Patch - RFC 6902 and RFC 7396 Implementation JSON Patch - RFC 6902 和 RFC 7396 实现
- cloud.opencode.base.json.path - package cloud.opencode.base.json.path
-
JSON Path - JSONPath and JSON Pointer Support JSON Path - JSONPath 和 JSON Pointer 支持
- cloud.opencode.base.json.reactive - package cloud.opencode.base.json.reactive
-
Reactive JSON Processing Package 响应式JSON处理包
- cloud.opencode.base.json.schema - package cloud.opencode.base.json.schema
-
JSON Schema - JSON Schema Validation (Draft 2020-12) JSON Schema - JSON Schema 验证(Draft 2020-12)
- cloud.opencode.base.json.security - package cloud.opencode.base.json.security
-
JSON Security - Security Features for JSON Processing JSON Security - JSON 处理的安全特性
- cloud.opencode.base.json.spi - package cloud.opencode.base.json.spi
-
JSON SPI - Service Provider Interface for JSON Engines JSON SPI - JSON 引擎的服务提供者接口
- cloud.opencode.base.json.stream - package cloud.opencode.base.json.stream
-
JSON Stream - Streaming API for Large JSON Processing JSON Stream - 大 JSON 处理的流式 API
- cloud.opencode.base.json.util - package cloud.opencode.base.json.util
-
JSON Utility Classes - Practical JSON Processing Tools JSON 工具类 - 实用 JSON 处理工具
- compile(String) - Static method in class cloud.opencode.base.json.path.JsonPath
-
Compiles a JSONPath expression.
- CONFIG_ERROR - Enum constant in enum class cloud.opencode.base.json.exception.OpenJsonProcessingException.ErrorType
-
Configuration error - 配置错误
- configError(String) - Static method in exception class cloud.opencode.base.json.exception.OpenJsonProcessingException
-
Creates a configuration error exception.
- configure(JsonConfig) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Configures this provider with the given configuration.
- constraintViolation(String, String, String) - Static method in exception class cloud.opencode.base.json.exception.JsonSchemaException
-
Creates an exception for a constraint violation error.
- content() - Element in annotation interface cloud.opencode.base.json.annotation.JsonInclude
-
Inclusion strategy for content of maps and collections.
- contentAs() - Element in annotation interface cloud.opencode.base.json.annotation.JsonDeserialize
-
The concrete type to deserialize collection/array elements as.
- contentAs() - Element in annotation interface cloud.opencode.base.json.annotation.JsonSerialize
-
The type to serialize collection/array elements as.
- contentUsing() - Element in annotation interface cloud.opencode.base.json.annotation.JsonDeserialize
-
The deserializer class to use for collection/array elements.
- contentUsing() - Element in annotation interface cloud.opencode.base.json.annotation.JsonSerialize
-
The serializer class to use for collection/array elements.
- convertValue(Object, TypeReference) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Converts an object to another type using a TypeReference.
- convertValue(Object, Class) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Converts an object to another type.
- copy() - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Creates a copy of this provider with independent configuration.
- copy(String, String) - Method in class cloud.opencode.base.json.patch.JsonPatch.Builder
-
Adds a copy operation.
- COPY - Enum constant in enum class cloud.opencode.base.json.patch.JsonPatch.Operation
- create(InputStream) - Static method in interface cloud.opencode.base.json.reactive.ReactiveJsonReader
-
Creates a reactive JSON reader from an input stream.
- create(InputStream, int) - Static method in interface cloud.opencode.base.json.reactive.ReactiveJsonReader
-
Creates a reactive JSON reader with custom buffer size.
- create(OutputStream) - Static method in interface cloud.opencode.base.json.reactive.ReactiveJsonWriter
-
Creates a reactive JSON writer to an output stream.
- create(OutputStream, int) - Static method in interface cloud.opencode.base.json.reactive.ReactiveJsonWriter
-
Creates a reactive JSON writer with custom buffer size.
- create(Class) - Method in interface cloud.opencode.base.json.adapter.JsonTypeAdapterFactory
-
Creates a type adapter for the given type.
- create(Type) - Method in interface cloud.opencode.base.json.adapter.JsonAdapterRegistry.AdapterFactory
-
Creates an adapter for the given type.
- createPretty(OutputStream) - Static method in interface cloud.opencode.base.json.reactive.ReactiveJsonWriter
-
Creates a reactive JSON writer with pretty printing.
- createReader(InputStream) - Static method in class cloud.opencode.base.json.OpenJson
-
Creates a JsonReader for an InputStream.
- createReader(InputStream) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Creates a JsonReader for the given input stream.
- createReader(Reader) - Static method in class cloud.opencode.base.json.OpenJson
-
Creates a JsonReader for a Reader.
- createReader(Reader) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Creates a JsonReader for the given reader.
- createRegistry() - Static method in class cloud.opencode.base.json.adapter.JsonAdapterRegistry
-
Creates a new isolated registry.
- createWriter(OutputStream) - Static method in class cloud.opencode.base.json.OpenJson
-
Creates a JsonWriter for an OutputStream.
- createWriter(OutputStream) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Creates a JsonWriter for the given output stream.
- createWriter(Writer) - Static method in class cloud.opencode.base.json.OpenJson
-
Creates a JsonWriter for a Writer.
- createWriter(Writer) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Creates a JsonWriter for the given writer.
- creatorVisibility() - Element in annotation interface cloud.opencode.base.json.annotation.JsonAutoDetect
-
Minimum visibility for auto-detecting creators (constructors, factory methods).
- CUSTOM - Enum constant in enum class cloud.opencode.base.json.annotation.JsonInclude.Include
-
Use a custom filter to determine inclusion.
- CUSTOM - Enum constant in enum class cloud.opencode.base.json.annotation.JsonMask.MaskType
-
Custom masking with regex pattern.
- CUSTOM - Enum constant in enum class cloud.opencode.base.json.annotation.JsonTypeInfo.Id
-
Custom type identifier resolved by application-specific logic.
D
- dateFormat(String) - Method in class cloud.opencode.base.json.JsonConfig.Builder
-
Sets the date format pattern.
- DEFAULT - Enum constant in enum class cloud.opencode.base.json.annotation.JsonAutoDetect.Visibility
-
Use default visibility rules.
- DEFAULT - Enum constant in enum class cloud.opencode.base.json.annotation.JsonCreator.Mode
-
Auto-detect the creator mode based on context.
- DEFAULT - Static variable in class cloud.opencode.base.json.JsonConfig
-
Default configuration 默认配置
- DEFAULT - Static variable in record class cloud.opencode.base.json.util.JsonFlattener.FlattenConfig
-
Default configuration: "." separator, bracket array notation, max depth 1000.
- DEFAULT - Static variable in record class cloud.opencode.base.json.util.JsonTruncator.TruncateConfig
-
Default truncation configuration.
- DEFAULT_MAX_DEPTH - Static variable in class cloud.opencode.base.json.security.JsonSecurity
-
Default maximum depth 默认最大深度
- DEFAULT_MAX_ENTRIES - Static variable in class cloud.opencode.base.json.security.JsonSecurity
-
Default maximum entries 默认最大条目数
- DEFAULT_MAX_STRING_LENGTH - Static variable in class cloud.opencode.base.json.security.JsonSecurity
-
Default maximum string length 默认最大字符串长度
- defaultImpl() - Element in annotation interface cloud.opencode.base.json.annotation.JsonTypeInfo
-
The default implementation class to use when the type identifier is unknown or missing.
- defaults() - Static method in record class cloud.opencode.base.json.security.JsonSecurity.SecurityOptions
- defaultValue() - Element in annotation interface cloud.opencode.base.json.annotation.JsonProperty
-
The default value as a JSON literal if the property is absent.
- DELEGATING - Enum constant in enum class cloud.opencode.base.json.annotation.JsonCreator.Mode
-
Single-argument creator where the argument represents the entire JSON value.
- depth() - Method in class cloud.opencode.base.json.path.JsonPointer
-
Returns the depth (number of tokens).
- DESERIALIZATION - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature.Category
-
Deserialization features - 反序列化特性
- DESERIALIZATION_ERROR - Enum constant in enum class cloud.opencode.base.json.exception.OpenJsonProcessingException.ErrorType
-
Deserialization error - 反序列化错误
- deserializationError(String, Throwable) - Static method in exception class cloud.opencode.base.json.exception.OpenJsonProcessingException
-
Creates a deserialization error exception.
- deserialize() - Element in annotation interface cloud.opencode.base.json.annotation.JsonIgnore
-
Whether to ignore during deserialization.
- deserialize(byte[], TypeReference) - Method in class cloud.opencode.base.json.OpenJson
-
Deserializes JSON bytes using TypeReference.
- deserialize(byte[], Class) - Method in class cloud.opencode.base.json.OpenJson
-
Deserializes JSON bytes.
- deserialize(InputStream, Class) - Method in class cloud.opencode.base.json.OpenJson
-
Deserializes from InputStream.
- deserialize(Reader, Class) - Method in class cloud.opencode.base.json.OpenJson
-
Deserializes from Reader.
- deserialize(String, TypeReference) - Method in class cloud.opencode.base.json.OpenJson
-
Deserializes JSON using TypeReference.
- deserialize(String, Class) - Method in class cloud.opencode.base.json.OpenJson
-
Deserializes JSON to an object.
- deserializeArray(String, Class) - Method in class cloud.opencode.base.json.OpenJson
-
Deserializes JSON array to List.
- deserializeMap(String, Class, Class) - Method in class cloud.opencode.base.json.OpenJson
-
Deserializes JSON object to Map.
- diff(JsonNode, JsonNode) - Static method in class cloud.opencode.base.json.diff.JsonDiff
- diff(JsonNode, JsonNode) - Static method in class cloud.opencode.base.json.OpenJson
-
Computes diff between two JSON documents.
- diff(JsonNode, JsonNode) - Static method in class cloud.opencode.base.json.patch.JsonMergePatch
-
Creates a diff patch between two documents.
- Difference(JsonDiff.DiffType, String, JsonNode, JsonNode) - Constructor for record class cloud.opencode.base.json.diff.JsonDiff.Difference
-
Creates an instance of a
Differencerecord class. - differences() - Method in record class cloud.opencode.base.json.diff.JsonDiff.DiffResult
-
Returns the value of the
differencesrecord component. - DiffResult(List, JsonNode, JsonNode) - Constructor for record class cloud.opencode.base.json.diff.JsonDiff.DiffResult
-
Creates an instance of a
DiffResultrecord class. - disable(JsonFeature) - Method in class cloud.opencode.base.json.JsonConfig.Builder
-
Disables a feature.
- disable(JsonFeature...) - Method in class cloud.opencode.base.json.JsonConfig.Builder
-
Disables multiple features.
- DISABLED - Enum constant in enum class cloud.opencode.base.json.annotation.JsonCreator.Mode
-
Explicitly disable this creator.
- DOT_CASE - Enum constant in enum class cloud.opencode.base.json.annotation.JsonNaming.Strategy
-
Convert to dot.case notation.
E
- EMAIL - Enum constant in enum class cloud.opencode.base.json.annotation.JsonMask.MaskType
-
Email masking - username partially hidden.
- enable(JsonFeature) - Method in class cloud.opencode.base.json.JsonConfig.Builder
-
Enables a feature.
- enable(JsonFeature...) - Method in class cloud.opencode.base.json.JsonConfig.Builder
-
Enables multiple features.
- enabled() - Element in annotation interface cloud.opencode.base.json.annotation.JsonAnyGetter
-
Whether this any-getter is enabled.
- enabled() - Element in annotation interface cloud.opencode.base.json.annotation.JsonAnySetter
-
Whether this any-setter is enabled.
- enabled() - Element in annotation interface cloud.opencode.base.json.annotation.JsonMask
-
Whether masking is enabled (can be controlled at runtime).
- enabled() - Element in annotation interface cloud.opencode.base.json.annotation.JsonUnwrapped
-
Whether unwrapping is enabled.
- END_ARRAY - Enum constant in enum class cloud.opencode.base.json.stream.JsonToken
-
End of a JSON array (]).
- END_DOCUMENT - Enum constant in enum class cloud.opencode.base.json.stream.JsonToken
-
End of JSON document.
- END_OBJECT - Enum constant in enum class cloud.opencode.base.json.stream.JsonToken
-
End of a JSON object (}).
- endArray() - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Consumes the next token and asserts it is END_ARRAY.
- endArray() - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Ends writing a JSON array.
- endObject() - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Consumes the next token and asserts it is END_OBJECT.
- endObject() - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Ends writing a JSON object.
- equals(JsonNode, JsonNode) - Static method in class cloud.opencode.base.json.diff.JsonDiff
-
Checks if two documents are equal.
- equals(JsonNode, JsonNode) - Static method in class cloud.opencode.base.json.util.JsonEquals
-
Compares two JSON nodes for structural equality.
- equals(Object) - Method in record class cloud.opencode.base.json.diff.JsonDiff.Difference
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.json.diff.JsonDiff.DiffResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.json.exception.JsonSchemaException.ValidationError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.json.identity.ObjectIdGenerator.IdKey
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class cloud.opencode.base.json.JsonNode.ArrayNode
- equals(Object) - Method in record class cloud.opencode.base.json.JsonNode.BooleanNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.json.JsonNode.NullNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.json.JsonNode.NumberNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class cloud.opencode.base.json.JsonNode.ObjectNode
- equals(Object) - Method in record class cloud.opencode.base.json.JsonNode.StringNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.json.patch.JsonPatch.PatchOperation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class cloud.opencode.base.json.path.JsonPointer
- equals(Object) - Method in record class cloud.opencode.base.json.schema.JsonSchemaValidator.ValidationResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.json.security.JsonSecurity.SecurityOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.json.spi.JsonProviderFactory.ProviderInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class cloud.opencode.base.json.TypeReference
- equals(Object) - Method in record class cloud.opencode.base.json.util.JsonFlattener.FlattenConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.json.util.JsonTruncator.TruncateConfig
-
Indicates whether some other object is "equal to" this one.
- equals(String, String) - Static method in class cloud.opencode.base.json.util.JsonEquals
-
Compares two JSON strings for structural equality.
- equalsIgnoreArrayOrder(JsonNode, JsonNode) - Static method in class cloud.opencode.base.json.util.JsonEquals
-
Compares two JSON nodes for structural equality, ignoring array element order.
- errors() - Method in record class cloud.opencode.base.json.schema.JsonSchemaValidator.ValidationResult
-
Returns the value of the
errorsrecord component. - escape(String) - Static method in class cloud.opencode.base.json.util.JsonStrings
-
Escapes a string value for use inside a JSON string (RFC 8259).
- ESCAPE_NON_ASCII - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Escape non-ASCII characters.
- evaluate(JsonNode) - Method in class cloud.opencode.base.json.path.JsonPath
-
Evaluates this path against a JSON node.
- evaluate(JsonNode) - Method in class cloud.opencode.base.json.path.JsonPointer
-
Evaluates this pointer against a JSON node.
- evaluateFirst(JsonNode) - Method in class cloud.opencode.base.json.path.JsonPath
-
Returns the first matching node.
- evaluateOrNull(JsonNode) - Method in class cloud.opencode.base.json.path.JsonPointer
-
Evaluates this pointer, returning null if path doesn't exist.
- exclude(String...) - Static method in interface cloud.opencode.base.json.PropertyFilter
-
Returns a filter that excludes the specified properties (blacklist).
- excludeAll() - Static method in interface cloud.opencode.base.json.PropertyFilter
-
Returns a filter that excludes all properties.
- EXISTING_PROPERTY - Enum constant in enum class cloud.opencode.base.json.annotation.JsonTypeInfo.As
-
Type info uses an existing property already present in the object.
- exists(JsonNode) - Method in class cloud.opencode.base.json.path.JsonPointer
-
Checks if this pointer exists in the given node.
- exists(JsonNode, String) - Static method in class cloud.opencode.base.json.path.JsonPath
-
Checks if any node matches the expression.
- expected() - Method in record class cloud.opencode.base.json.exception.JsonSchemaException.ValidationError
-
Returns the value of the
expectedrecord component. - EXTERNAL_PROPERTY - Enum constant in enum class cloud.opencode.base.json.annotation.JsonTypeInfo.As
-
Type info is included as a separate sibling property outside the object.
F
- FAIL_ON_NULL_FOR_PRIMITIVES - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Fail on null for primitives.
- FAIL_ON_NUMBERS_FOR_ENUMS - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Fail on numbers for enums.
- failure(JsonSchemaException.ValidationError) - Static method in record class cloud.opencode.base.json.schema.JsonSchemaValidator.ValidationResult
- failure(List) - Static method in record class cloud.opencode.base.json.schema.JsonSchemaValidator.ValidationResult
- fieldVisibility() - Element in annotation interface cloud.opencode.base.json.annotation.JsonAutoDetect
-
Minimum visibility for auto-detecting fields.
- findDangerousKeys(JsonNode) - Static method in class cloud.opencode.base.json.security.JsonSecurity
-
Checks for dangerous property keys.
- flatten(JsonNode) - Static method in class cloud.opencode.base.json.OpenJson
-
Flattens a nested JSON node into a flat key-value map using dot notation.
- flatten(JsonNode) - Static method in class cloud.opencode.base.json.util.JsonFlattener
-
Flattens a JSON tree into a flat map using the default configuration.
- flatten(JsonNode, JsonFlattener.FlattenConfig) - Static method in class cloud.opencode.base.json.util.JsonFlattener
-
Flattens a JSON tree into a flat map using the specified configuration.
- flatten(JsonNode, String) - Static method in class cloud.opencode.base.json.util.JsonFlattener
-
Flattens a JSON tree into a flat map using a custom separator.
- FlattenConfig(String, boolean, int) - Constructor for record class cloud.opencode.base.json.util.JsonFlattener.FlattenConfig
-
Constructs a FlattenConfig with validation.
- flush() - Method in interface cloud.opencode.base.json.reactive.ReactiveJsonWriter
-
Flushes any buffered content.
- flush() - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Flushes any buffered data to the underlying output.
- from() - Method in record class cloud.opencode.base.json.patch.JsonPatch.PatchOperation
-
Returns the value of the
fromrecord component. - fromJson(byte[], TypeReference) - Static method in class cloud.opencode.base.json.OpenJson
-
Deserializes JSON bytes using TypeReference.
- fromJson(byte[], TypeReference) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Deserializes JSON bytes using a TypeReference.
- fromJson(byte[], Class) - Static method in class cloud.opencode.base.json.OpenJson
-
Deserializes JSON bytes to an object.
- fromJson(byte[], Class) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Deserializes JSON bytes to an object of the specified class.
- fromJson(JsonNode) - Method in interface cloud.opencode.base.json.adapter.JsonTypeAdapter
-
Deserializes a JsonNode to a value.
- fromJson(InputStream, Class) - Static method in class cloud.opencode.base.json.OpenJson
-
Deserializes from InputStream.
- fromJson(InputStream, Class) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Deserializes from an InputStream to an object of the specified class.
- fromJson(Reader, Class) - Static method in class cloud.opencode.base.json.OpenJson
-
Deserializes from Reader.
- fromJson(Reader, Class) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Deserializes from a Reader to an object of the specified class.
- fromJson(String, TypeReference) - Static method in class cloud.opencode.base.json.OpenJson
-
Deserializes JSON string using TypeReference.
- fromJson(String, TypeReference) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Deserializes a JSON string using a TypeReference.
- fromJson(String, Class) - Static method in class cloud.opencode.base.json.OpenJson
-
Deserializes JSON string to an object.
- fromJson(String, Class) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Deserializes a JSON string to an object of the specified class.
- fromJson(String, Type) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Deserializes a JSON string to an object of the specified type.
- fromJsonArray(String, Class) - Static method in class cloud.opencode.base.json.OpenJson
-
Deserializes JSON array to List.
- fromJsonArray(String, Class) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Deserializes a JSON array to a List.
- fromJsonMap(String, Class, Class) - Static method in class cloud.opencode.base.json.OpenJson
-
Deserializes JSON object to Map.
- fromJsonMap(String, Class, Class) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Deserializes a JSON object to a Map.
- FULL - Enum constant in enum class cloud.opencode.base.json.annotation.JsonMask.MaskType
-
Full masking - entire value hidden.
G
- generateId(Object) - Method in class cloud.opencode.base.json.identity.ObjectIdGenerator
-
Generates a unique identifier for the given object.
- generateId(Object) - Method in class cloud.opencode.base.json.identity.ObjectIdGenerators.IntSequenceGenerator
- generateId(Object) - Method in class cloud.opencode.base.json.identity.ObjectIdGenerators.PropertyGenerator
- generateId(Object) - Method in class cloud.opencode.base.json.identity.ObjectIdGenerators.StringIdGenerator
- generateId(Object) - Method in class cloud.opencode.base.json.identity.ObjectIdGenerators.UUIDGenerator
- generator() - Element in annotation interface cloud.opencode.base.json.annotation.JsonIdentityInfo
-
The object ID generator class to use for producing identifiers.
- get(int) - Method in class cloud.opencode.base.json.JsonNode.ArrayNode
- get(int) - Method in interface cloud.opencode.base.json.JsonNode
-
Gets a child node by index (for arrays).
- get(String) - Method in interface cloud.opencode.base.json.JsonNode
-
Gets a child node by property name (for objects).
- get(String) - Method in class cloud.opencode.base.json.JsonNode.ObjectNode
- getAdapter(Class) - Static method in class cloud.opencode.base.json.adapter.JsonAdapterRegistry
-
Gets an adapter for a type.
- getAdapter(Class) - Method in class cloud.opencode.base.json.adapter.JsonAdapterRegistry.Registry
- getAdapter(Type) - Static method in class cloud.opencode.base.json.adapter.JsonAdapterRegistry
-
Gets an adapter for a generic type.
- getAdapters() - Method in class cloud.opencode.base.json.spi.JsonModule.SimpleModule
-
Returns the registered adapters.
- getAllProviders() - Static method in class cloud.opencode.base.json.spi.JsonProviderFactory
-
Returns all registered providers.
- getAvailableProviders() - Static method in class cloud.opencode.base.json.spi.JsonProviderFactory
-
Returns a list of available provider names.
- getBytesWritten() - Method in interface cloud.opencode.base.json.reactive.ReactiveJsonWriter
-
Gets the number of bytes written so far.
- getCategory() - Method in enum class cloud.opencode.base.json.spi.JsonFeature
-
Returns the feature category.
- getColumn() - Method in exception class cloud.opencode.base.json.exception.OpenJsonProcessingException
-
Returns the column number where the error occurred.
- getColumnNumber() - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Returns the current column number (1-based).
- getConfig() - Method in class cloud.opencode.base.json.OpenJson
-
Returns the configuration.
- getConfig() - Method in interface cloud.opencode.base.json.spi.JsonModule.SetupContext
-
Returns the current JSON configuration.
- getDateFormat() - Method in class cloud.opencode.base.json.JsonConfig
-
Returns the date format pattern.
- getDifferenceCount() - Method in record class cloud.opencode.base.json.diff.JsonDiff.DiffResult
-
Returns the number of differences.
- getDifferencesByType(JsonDiff.DiffType) - Method in record class cloud.opencode.base.json.diff.JsonDiff.DiffResult
-
Returns differences of a specific type.
- getElementsRead() - Method in interface cloud.opencode.base.json.reactive.ReactiveJsonReader
-
Gets the number of elements read so far.
- getElementsWritten() - Method in interface cloud.opencode.base.json.reactive.ReactiveJsonWriter
-
Gets the number of elements written so far.
- getEnabledFeatures() - Method in class cloud.opencode.base.json.JsonConfig
-
Returns the enabled features.
- getErrorCount() - Method in exception class cloud.opencode.base.json.exception.JsonSchemaException
-
Returns the number of validation errors.
- getErrorReport() - Method in exception class cloud.opencode.base.json.exception.JsonSchemaException
-
Returns a formatted error report.
- getErrors() - Method in exception class cloud.opencode.base.json.exception.JsonSchemaException
-
Returns the list of validation errors.
- getErrors() - Method in record class cloud.opencode.base.json.schema.JsonSchemaValidator.ValidationResult
- getErrorType() - Method in exception class cloud.opencode.base.json.exception.OpenJsonProcessingException
-
Returns the error type.
- getExpression() - Method in class cloud.opencode.base.json.path.JsonPath
-
Returns the path expression.
- getFactories() - Method in class cloud.opencode.base.json.spi.JsonModule.SimpleModule
-
Returns the registered factories.
- getGenericType() - Method in interface cloud.opencode.base.json.adapter.JsonTypeAdapter
-
Returns the generic type if applicable.
- getIndent() - Method in class cloud.opencode.base.json.JsonConfig
-
Returns the indentation string.
- getKeyAdapters() - Method in class cloud.opencode.base.json.spi.JsonModule.SimpleModule
-
Returns the registered key adapters.
- getLastToken() - Method in class cloud.opencode.base.json.path.JsonPointer
-
Returns the last reference token.
- getLine() - Method in exception class cloud.opencode.base.json.exception.OpenJsonProcessingException
-
Returns the line number where the error occurred.
- getLineNumber() - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Returns the current line number (1-based).
- getLocationString() - Method in exception class cloud.opencode.base.json.exception.OpenJsonProcessingException
-
Returns a formatted location string.
- getMaxDepth() - Method in class cloud.opencode.base.json.JsonConfig
-
Returns the maximum nesting depth.
- getMaxSize() - Method in class cloud.opencode.base.json.JsonConfig
-
Returns the maximum array/object size.
- getMaxStringLength() - Method in class cloud.opencode.base.json.JsonConfig
-
Returns the maximum string length.
- getMessage() - Method in exception class cloud.opencode.base.json.exception.JsonSchemaException
- getMessage() - Method in exception class cloud.opencode.base.json.exception.OpenJsonProcessingException
- getMixin(Class) - Method in class cloud.opencode.base.json.MixinSource
-
Returns the mixin class for the given target type.
- getMixins() - Method in class cloud.opencode.base.json.MixinSource
-
Returns an unmodifiable view of all mixin mappings.
- getMixins() - Method in class cloud.opencode.base.json.spi.JsonModule.SimpleModule
-
Returns the registered mixins.
- getMixinSource() - Method in class cloud.opencode.base.json.OpenJson
-
Returns the mixin source.
- getModules() - Method in class cloud.opencode.base.json.OpenJson
-
Returns the registered modules.
- getName() - Method in interface cloud.opencode.base.json.spi.JsonModule
-
Returns the module name.
- getName() - Method in class cloud.opencode.base.json.spi.JsonModule.SimpleModule
- getName() - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Returns the provider name (e.g., "jackson", "gson", "fastjson2").
- getNamingStrategy() - Method in class cloud.opencode.base.json.JsonConfig
-
Returns the naming strategy.
- getOperations() - Method in class cloud.opencode.base.json.patch.JsonPatch
-
Returns the operations in this patch.
- getPatch() - Method in class cloud.opencode.base.json.patch.JsonMergePatch
-
Returns the patch content.
- getPath() - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Returns the current path in the JSON document.
- getPriority() - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Returns the priority of this provider (higher = preferred).
- getPropertyFilter(String) - Method in class cloud.opencode.base.json.OpenJson
-
Returns the property filter for the given ID.
- getProvider() - Method in class cloud.opencode.base.json.OpenJson
-
Returns the provider.
- getProvider() - Static method in class cloud.opencode.base.json.spi.JsonProviderFactory
-
Returns the default JSON provider.
- getProvider(JsonConfig) - Static method in class cloud.opencode.base.json.spi.JsonProviderFactory
-
Returns a configured provider instance.
- getProvider(String) - Static method in class cloud.opencode.base.json.spi.JsonProviderFactory
-
Returns a provider by name.
- getProvider(String, JsonConfig) - Static method in class cloud.opencode.base.json.spi.JsonProviderFactory
-
Returns a configured provider instance by name.
- getProviderInfo() - Static method in class cloud.opencode.base.json.spi.JsonProviderFactory
-
Returns information about all registered providers.
- getRawMessage() - Method in exception class cloud.opencode.base.json.exception.OpenJsonProcessingException
-
Returns the raw message without component/error-code prefix or location suffix.
- getRawType() - Method in class cloud.opencode.base.json.TypeReference
-
Returns the raw class of the referenced type.
- getRegisteredTypes() - Static method in class cloud.opencode.base.json.adapter.JsonAdapterRegistry
-
Returns all registered types.
- getSchemaUri() - Method in exception class cloud.opencode.base.json.exception.JsonSchemaException
-
Returns the schema URI that was validated against.
- getScope() - Method in class cloud.opencode.base.json.identity.ObjectIdGenerator
-
Returns the scope class used to determine ID uniqueness boundaries.
- getScope() - Method in class cloud.opencode.base.json.identity.ObjectIdGenerators.IntSequenceGenerator
- getScope() - Method in class cloud.opencode.base.json.identity.ObjectIdGenerators.PropertyGenerator
- getScope() - Method in class cloud.opencode.base.json.identity.ObjectIdGenerators.StringIdGenerator
- getScope() - Method in class cloud.opencode.base.json.identity.ObjectIdGenerators.UUIDGenerator
- getSource() - Method in exception class cloud.opencode.base.json.exception.OpenJsonProcessingException
-
Returns the source identifier.
- getSummary() - Method in record class cloud.opencode.base.json.diff.JsonDiff.DiffResult
-
Returns a human-readable summary.
- getterVisibility() - Element in annotation interface cloud.opencode.base.json.annotation.JsonAutoDetect
-
Minimum visibility for auto-detecting getters.
- getTimezone() - Method in class cloud.opencode.base.json.JsonConfig
-
Returns the timezone.
- getTokens() - Method in class cloud.opencode.base.json.path.JsonPointer
-
Returns the reference tokens.
- getType() - Method in interface cloud.opencode.base.json.adapter.JsonTypeAdapter
-
Returns the type this adapter handles.
- getType() - Method in class cloud.opencode.base.json.TypeReference
-
Returns the referenced type.
- getTypeArguments() - Method in class cloud.opencode.base.json.TypeReference
-
Returns the type arguments if this is a parameterized type.
- getUnderlyingProvider() - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Returns the underlying JSON library object (e.g., ObjectMapper for Jackson).
- getVersion() - Method in interface cloud.opencode.base.json.spi.JsonModule
-
Returns the module version.
- getVersion() - Method in class cloud.opencode.base.json.spi.JsonModule.SimpleModule
- getVersion() - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Returns the provider version.
H
- handlesNull() - Method in interface cloud.opencode.base.json.adapter.JsonTypeAdapter
-
Returns whether null values should use this adapter.
- has(String) - Method in interface cloud.opencode.base.json.JsonNode
-
Returns whether this node has a property (for objects).
- has(String) - Method in class cloud.opencode.base.json.JsonNode.ObjectNode
- hasAdapter(Class) - Static method in class cloud.opencode.base.json.adapter.JsonAdapterRegistry
-
Checks if an adapter exists for a type.
- hasAnyProvider() - Static method in class cloud.opencode.base.json.spi.JsonProviderFactory
-
Checks if any provider is available.
- hasDangerousKeys(JsonNode) - Static method in class cloud.opencode.base.json.security.JsonSecurity
-
Checks if JSON contains dangerous keys.
- hasDifferences() - Method in record class cloud.opencode.base.json.diff.JsonDiff.DiffResult
-
Returns whether there are differences.
- hasErrors() - Method in class cloud.opencode.base.json.exception.JsonSchemaException.Builder
-
Returns whether any errors have been added.
- hasErrors() - Method in exception class cloud.opencode.base.json.exception.JsonSchemaException
-
Returns whether there are any errors.
- hashCode() - Method in record class cloud.opencode.base.json.diff.JsonDiff.Difference
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.json.diff.JsonDiff.DiffResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.json.exception.JsonSchemaException.ValidationError
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.json.identity.ObjectIdGenerator.IdKey
-
Returns a hash code value for this object.
- hashCode() - Method in class cloud.opencode.base.json.JsonNode.ArrayNode
- hashCode() - Method in record class cloud.opencode.base.json.JsonNode.BooleanNode
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.json.JsonNode.NullNode
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.json.JsonNode.NumberNode
-
Returns a hash code value for this object.
- hashCode() - Method in class cloud.opencode.base.json.JsonNode.ObjectNode
- hashCode() - Method in record class cloud.opencode.base.json.JsonNode.StringNode
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.json.patch.JsonPatch.PatchOperation
-
Returns a hash code value for this object.
- hashCode() - Method in class cloud.opencode.base.json.path.JsonPointer
- hashCode() - Method in record class cloud.opencode.base.json.schema.JsonSchemaValidator.ValidationResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.json.security.JsonSecurity.SecurityOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.json.spi.JsonProviderFactory.ProviderInfo
-
Returns a hash code value for this object.
- hashCode() - Method in class cloud.opencode.base.json.TypeReference
- hashCode() - Method in record class cloud.opencode.base.json.util.JsonFlattener.FlattenConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.json.util.JsonTruncator.TruncateConfig
-
Returns a hash code value for this object.
- hasLocation() - Method in exception class cloud.opencode.base.json.exception.OpenJsonProcessingException
-
Returns whether location information is available.
- hasMixin(Class) - Method in class cloud.opencode.base.json.MixinSource
-
Returns whether a mixin is registered for the given target type.
- hasNext() - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Returns true if the current array or object has more elements.
- hasProvider(String) - Static method in class cloud.opencode.base.json.spi.JsonProviderFactory
-
Checks if a provider is available by name.
I
- id() - Element in annotation interface cloud.opencode.base.json.annotation.JsonTypeInfo
-
The type identifier mechanism to use.
- ID_CARD - Enum constant in enum class cloud.opencode.base.json.annotation.JsonMask.MaskType
-
ID card masking - middle digits hidden.
- IDENTITY - Enum constant in enum class cloud.opencode.base.json.annotation.JsonNaming.Strategy
-
Use field names as-is (identity).
- IdKey(Class, Class, Object) - Constructor for record class cloud.opencode.base.json.identity.ObjectIdGenerator.IdKey
-
Creates an instance of a
IdKeyrecord class. - IGNORE_UNKNOWN_PROPERTIES - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Ignore unknown properties during deserialization.
- include() - Element in annotation interface cloud.opencode.base.json.annotation.JsonTypeInfo
-
The inclusion strategy for type information.
- include(String...) - Static method in interface cloud.opencode.base.json.PropertyFilter
-
Returns a filter that includes only the specified properties (whitelist).
- INCLUDE_EMPTY_COLLECTIONS - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Include empty collections in output.
- INCLUDE_NULL_PROPERTIES - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Include null properties in output.
- includeAll() - Static method in interface cloud.opencode.base.json.PropertyFilter
-
Returns a filter that includes all properties.
- includeNonNull() - Static method in interface cloud.opencode.base.json.PropertyFilter
-
Returns a filter that excludes properties with null values.
- includeProperty(String, Object, Class) - Method in interface cloud.opencode.base.json.PropertyFilter
-
Determines whether a property should be included in the serialized output.
- indent(String) - Method in class cloud.opencode.base.json.JsonConfig.Builder
-
Sets the indentation string.
- index() - Element in annotation interface cloud.opencode.base.json.annotation.JsonProperty
-
Index for property ordering during serialization.
- IntSequenceGenerator() - Constructor for class cloud.opencode.base.json.identity.ObjectIdGenerators.IntSequenceGenerator
-
Creates a generator with default scope (
Object.class). - IntSequenceGenerator(Class) - Constructor for class cloud.opencode.base.json.identity.ObjectIdGenerators.IntSequenceGenerator
-
Creates a generator with the specified scope.
- IO_ERROR - Enum constant in enum class cloud.opencode.base.json.exception.OpenJsonProcessingException.ErrorType
-
IO error - IO错误
- ioError(String, Throwable) - Static method in exception class cloud.opencode.base.json.exception.OpenJsonProcessingException
-
Creates an IO error exception.
- isArray() - Method in class cloud.opencode.base.json.JsonNode.ArrayNode
- isArray() - Method in interface cloud.opencode.base.json.JsonNode
-
Returns whether this node is an array.
- isAvailable() - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Returns whether this provider is available.
- isBoolean() - Method in record class cloud.opencode.base.json.JsonNode.BooleanNode
- isBoolean() - Method in interface cloud.opencode.base.json.JsonNode
-
Returns whether this node is a boolean.
- isContainer() - Method in interface cloud.opencode.base.json.JsonNode
-
Returns whether this node is a container (object or array).
- isDefault() - Method in record class cloud.opencode.base.json.spi.JsonProviderFactory.ProviderInfo
-
Returns the value of the
isDefaultrecord component. - isDeserializationFeature() - Method in enum class cloud.opencode.base.json.spi.JsonFeature
-
Returns whether this feature is a deserialization feature.
- isEmpty() - Method in interface cloud.opencode.base.json.JsonNode
-
Returns whether this node is empty (for objects/arrays).
- isEnabled(JsonFeature) - Method in class cloud.opencode.base.json.JsonConfig
-
Returns whether a feature is enabled.
- isEnabledByDefault() - Method in enum class cloud.opencode.base.json.spi.JsonFeature
-
Returns whether this feature is enabled by default.
- isGetterVisibility() - Element in annotation interface cloud.opencode.base.json.annotation.JsonAutoDetect
-
Minimum visibility for auto-detecting is-getters (boolean getters).
- isHtmlSafe() - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Returns whether HTML-safe mode is enabled.
- isIdentical() - Method in record class cloud.opencode.base.json.diff.JsonDiff.DiffResult
-
Returns whether the documents are identical.
- isLenient() - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Returns whether this reader is lenient.
- isLenient() - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Returns whether this writer is lenient.
- isNull() - Method in interface cloud.opencode.base.json.JsonNode
-
Returns whether this node is null.
- isNull() - Method in record class cloud.opencode.base.json.JsonNode.NullNode
- isNumber() - Method in interface cloud.opencode.base.json.JsonNode
-
Returns whether this node is a number.
- isNumber() - Method in record class cloud.opencode.base.json.JsonNode.NumberNode
- isNumeric() - Method in enum class cloud.opencode.base.json.stream.JsonToken
-
Returns whether this is a numeric token.
- isObject() - Method in interface cloud.opencode.base.json.JsonNode
-
Returns whether this node is an object.
- isObject() - Method in class cloud.opencode.base.json.JsonNode.ObjectNode
- isOpen() - Method in interface cloud.opencode.base.json.reactive.ReactiveJsonReader
-
Checks if the reader is open.
- isOpen() - Method in interface cloud.opencode.base.json.reactive.ReactiveJsonWriter
-
Checks if the writer is open.
- isParameterized() - Method in class cloud.opencode.base.json.TypeReference
-
Returns whether this is a parameterized type.
- isRoot() - Method in class cloud.opencode.base.json.path.JsonPointer
-
Returns whether this is the root pointer.
- isScalarValue() - Method in enum class cloud.opencode.base.json.stream.JsonToken
-
Returns whether this token represents a scalar value.
- isSecurityFeature() - Method in enum class cloud.opencode.base.json.spi.JsonFeature
-
Returns whether this feature is a security feature.
- isSerializationFeature() - Method in enum class cloud.opencode.base.json.spi.JsonFeature
-
Returns whether this feature is a serialization feature.
- isString() - Method in interface cloud.opencode.base.json.JsonNode
-
Returns whether this node is a string.
- isString() - Method in record class cloud.opencode.base.json.JsonNode.StringNode
- isStructureEnd() - Method in enum class cloud.opencode.base.json.stream.JsonToken
-
Returns whether this token ends a structured value (object or array).
- isStructureStart() - Method in enum class cloud.opencode.base.json.stream.JsonToken
-
Returns whether this token starts a structured value (object or array).
- isValid() - Method in record class cloud.opencode.base.json.schema.JsonSchemaValidator.ValidationResult
- isValid(String) - Static method in class cloud.opencode.base.json.OpenJson
-
Checks whether the given string is valid JSON.
- isValid(String) - Static method in class cloud.opencode.base.json.util.JsonStrings
-
Validates whether the input is valid JSON per RFC 8259.
- isValue() - Method in interface cloud.opencode.base.json.JsonNode
-
Returns whether this node represents a value (not container).
- isValue() - Method in enum class cloud.opencode.base.json.stream.JsonToken
-
Returns whether this token represents any value (scalar or structured).
- iterator() - Method in class cloud.opencode.base.json.JsonNode.ArrayNode
J
- JsonAdapterRegistry - Class in cloud.opencode.base.json.adapter
-
JSON Adapter Registry - Registry for Custom Type Adapters JSON 适配器注册表 - 自定义类型适配器的注册表
- JsonAdapterRegistry.AdapterFactory - Interface in cloud.opencode.base.json.adapter
-
Adapter factory interface for dynamic adapter creation.
- JsonAdapterRegistry.Registry - Class in cloud.opencode.base.json.adapter
-
Isolated adapter registry instance.
- JsonAlias - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Alias - Defines Alternative Deserialization Names JSON 别名 - 定义反序列化时的替代名称
- JsonAnyGetter - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Any Getter - Serializes Map Entries as Regular Properties JSON 任意获取器 - 将 Map 条目序列化为普通属性
- JsonAnySetter - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Any Setter - Captures Unmatched JSON Properties JSON 任意设置器 - 捕获未匹配的 JSON 属性
- JsonAutoDetect - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Auto-Detect - Controls Property Auto-Detection Visibility JSON 自动检测 - 控制属性自动检测的可见性
- JsonAutoDetect.Visibility - Enum Class in cloud.opencode.base.json.annotation
-
Visibility level for property auto-detection 属性自动检测的可见性级别
- JsonBackReference - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Back Reference - Marks the Back Part of a Bidirectional Relationship JSON 反向引用 - 标记双向关系的反向部分
- JsonCanonicalizer - Class in cloud.opencode.base.json.util
-
JSON Canonicalizer - RFC 8785 JSON Canonicalization Scheme (JCS) JSON 规范化器 - RFC 8785 JSON 规范化方案 (JCS)
- JsonConfig - Class in cloud.opencode.base.json
-
JSON Config - Configuration for JSON Processing JSON 配置 - JSON 处理的配置
- JsonConfig.Builder - Class in cloud.opencode.base.json
-
Builder for JsonConfig.
- JsonCreator - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Creator - Marks a Constructor or Factory Method for Deserialization JSON 创建器 - 标记用于反序列化的构造函数或工厂方法
- JsonCreator.Mode - Enum Class in cloud.opencode.base.json.annotation
-
Creator mode that defines how arguments are bound.
- JsonDeserialize - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Deserialize - Specifies Custom Deserializer JSON 反序列化 - 指定自定义反序列化器
- JsonDiff - Class in cloud.opencode.base.json.diff
-
JSON Diff - JSON Document Comparison Tool JSON Diff - JSON 文档比较工具
- JsonDiff.Difference - Record Class in cloud.opencode.base.json.diff
-
Represents a single difference between documents.
- JsonDiff.DiffResult - Record Class in cloud.opencode.base.json.diff
-
Result of comparing two JSON documents.
- JsonDiff.DiffType - Enum Class in cloud.opencode.base.json.diff
-
Type of difference 差异类型
- JsonEnumDefaultValue - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Enum Default Value - Marks Default Enum Constant for Unknown Values JSON 枚举默认值 - 标记未知值时的默认枚举常量
- JsonEquals - Class in cloud.opencode.base.json.util
-
JSON Equals - Structural JSON Equality Comparison Utility.
- JsonFeature - Enum Class in cloud.opencode.base.json.spi
-
JSON Feature - Configuration Features for JSON Processing JSON 特性 - JSON 处理的配置特性
- JsonFeature.Category - Enum Class in cloud.opencode.base.json.spi
-
Feature category enumeration 特性类别枚举
- JsonFilter - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Filter - Specifies a Named Property Filter JSON 过滤器 - 指定命名的属性过滤器
- JsonFlattener - Class in cloud.opencode.base.json.util
-
JSON Flattener - Converts nested JSON to flat dot-notation key-value maps and back.
- JsonFlattener.FlattenConfig - Record Class in cloud.opencode.base.json.util
-
Configuration for flatten/unflatten operations.
- JsonFormat - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Format - Specifies Serialization Format JSON 格式 - 指定序列化格式
- JsonFormat.Shape - Enum Class in cloud.opencode.base.json.annotation
-
Shape of the JSON value JSON 值的形状
- JsonIdentityInfo - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Identity Info - Handles Object Identity for Circular References JSON 身份信息 - 处理循环引用的对象身份
- JsonIgnore - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Ignore - Excludes Field from JSON Processing JSON 忽略 - 从 JSON 处理中排除字段
- JsonInclude - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Include - Controls Property Inclusion Based on Value JSON 包含 - 基于值控制属性的包含策略
- JsonInclude.Include - Enum Class in cloud.opencode.base.json.annotation
-
Inclusion strategy for property values 属性值的包含策略
- JsonInject - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Inject - Injects Non-JSON Values During Deserialization JSON 注入 - 反序列化时注入非 JSON 值
- JsonManagedReference - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Managed Reference - Marks the Forward Part of a Bidirectional Relationship JSON 管理引用 - 标记双向关系的正向部分
- JsonMask - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Mask - Data Masking for Sensitive Fields JSON 脱敏 - 敏感字段的数据脱敏
- JsonMask.MaskType - Enum Class in cloud.opencode.base.json.annotation
-
Mask type enumeration 脱敏类型枚举
- JsonMergePatch - Class in cloud.opencode.base.json.patch
-
JSON Merge Patch - RFC 7396 Implementation JSON Merge Patch - RFC 7396 实现
- JsonMergePatch.Builder - Class in cloud.opencode.base.json.patch
-
Builder for JsonMergePatch.
- JsonModule - Interface in cloud.opencode.base.json.spi
-
JSON Module - Pluggable Module for Extending JSON Processing JSON 模块 - 用于扩展 JSON 处理的可插拔模块
- JsonModule.SetupContext - Interface in cloud.opencode.base.json.spi
-
Setup Context - Context for Module Configuration 设置上下文 - 模块配置的上下文
- JsonModule.SimpleModule - Class in cloud.opencode.base.json.spi
-
Simple Module - Convenient Base Implementation of JsonModule 简单模块 - JsonModule 的便捷基础实现
- JsonNaming - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Naming - Specifies Property Naming Strategy JSON 命名 - 指定属性命名策略
- JsonNaming.Strategy - Enum Class in cloud.opencode.base.json.annotation
-
Naming strategy enumeration 命名策略枚举
- JsonNode - Interface in cloud.opencode.base.json
-
JSON Node - Universal JSON Tree Representation JSON 节点 - 通用 JSON 树表示
- JsonNode.ArrayNode - Class in cloud.opencode.base.json
-
Array Node - Represents a JSON array.
- JsonNode.BooleanNode - Record Class in cloud.opencode.base.json
-
Boolean Node - Represents a JSON boolean.
- JsonNode.NullNode - Record Class in cloud.opencode.base.json
-
Null Node - Represents a JSON null.
- JsonNode.NumberNode - Record Class in cloud.opencode.base.json
-
Number Node - Represents a JSON number.
- JsonNode.ObjectNode - Class in cloud.opencode.base.json
-
Object Node - Represents a JSON object.
- JsonNode.StringNode - Record Class in cloud.opencode.base.json
-
String Node - Represents a JSON string.
- JsonPatch - Class in cloud.opencode.base.json.patch
-
JSON Patch - RFC 6902 Implementation JSON Patch - RFC 6902 实现
- JsonPatch.Builder - Class in cloud.opencode.base.json.patch
-
Builder for JsonPatch.
- JsonPatch.Operation - Enum Class in cloud.opencode.base.json.patch
-
Patch operation type 补丁操作类型
- JsonPatch.PatchOperation - Record Class in cloud.opencode.base.json.patch
-
Single patch operation 单个补丁操作
- JsonPath - Class in cloud.opencode.base.json.path
-
JSON Path - XPath-style Query Language for JSON JSON Path - JSON 的 XPath 风格查询语言
- JsonPointer - Class in cloud.opencode.base.json.path
-
JSON Pointer - RFC 6901 Implementation JSON Pointer - RFC 6901 实现
- JsonProperty - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Property - Defines JSON Field Mapping JSON 属性 - 定义 JSON 字段映射
- JsonProperty.Access - Enum Class in cloud.opencode.base.json.annotation
-
Access type for property 属性的访问类型
- JsonPropertyOrder - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Property Order - Controls Property Serialization Order JSON 属性排序 - 控制属性序列化顺序
- JsonProvider - Interface in cloud.opencode.base.json.spi
-
JSON Provider - SPI Interface for JSON Processing Engines JSON 提供者 - JSON 处理引擎的 SPI 接口
- JsonProviderFactory - Class in cloud.opencode.base.json.spi
-
JSON Provider Factory - Factory for Creating and Managing JSON Providers JSON 提供者工厂 - 用于创建和管理 JSON 提供者的工厂
- JsonProviderFactory.ProviderInfo - Record Class in cloud.opencode.base.json.spi
-
Provider information record.
- JsonRawValue - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Raw Value - Includes String Value as Raw JSON JSON 原始值 - 将字符串值作为原始 JSON 包含
- JsonReader - Interface in cloud.opencode.base.json.stream
-
JSON Reader - Streaming JSON Parser Interface JSON 读取器 - 流式 JSON 解析器接口
- JsonRootName - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Root Name - Specifies Root Wrapping Name JSON 根名称 - 指定根包装名称
- JsonSchemaException - Exception Class in cloud.opencode.base.json.exception
-
JSON Schema Exception - Exception for Schema Validation Failures JSON Schema 异常 - Schema 验证失败异常
- JsonSchemaException(String) - Constructor for exception class cloud.opencode.base.json.exception.JsonSchemaException
-
Constructs a new exception with a single error message.
- JsonSchemaException(String, List) - Constructor for exception class cloud.opencode.base.json.exception.JsonSchemaException
-
Constructs a new exception with validation errors.
- JsonSchemaException(String, List, String) - Constructor for exception class cloud.opencode.base.json.exception.JsonSchemaException
-
Constructs a new exception with validation errors and schema URI.
- JsonSchemaException.Builder - Class in cloud.opencode.base.json.exception
-
Builder for creating exceptions with multiple errors.
- JsonSchemaException.ValidationError - Record Class in cloud.opencode.base.json.exception
-
Validation Error - Represents a Single Schema Validation Error 验证错误 - 表示单个 Schema 验证错误
- JsonSchemaValidator - Class in cloud.opencode.base.json.schema
-
JSON Schema Validator - JSON Schema Draft 2020-12 Implementation JSON Schema 验证器 - JSON Schema Draft 2020-12 实现
- JsonSchemaValidator.ValidationResult - Record Class in cloud.opencode.base.json.schema
-
Validation result record.
- JsonSecurity - Class in cloud.opencode.base.json.security
-
JSON Security - Security Utilities for JSON Processing JSON 安全 - JSON 处理的安全工具
- JsonSecurity.SecurityOptions - Record Class in cloud.opencode.base.json.security
-
Security options for JSON parsing.
- JsonSecurity.SecurityOptions.Builder - Class in cloud.opencode.base.json.security
- JsonSerialize - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Serialize - Specifies Custom Serializer JSON 序列化 - 指定自定义序列化器
- JsonStrings - Class in cloud.opencode.base.json.util
-
JSON Strings - String-level JSON Utilities JSON 字符串 - 字符串级 JSON 工具类
- JsonSubTypes - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Sub Types - Known Subtypes for Polymorphic Deserialization JSON 子类型 - 多态反序列化的已知子类型
- JsonSubTypes.Type - Annotation Interface in cloud.opencode.base.json.annotation
-
Known Subtype Declaration 已知子类型声明
- JsonToken - Enum Class in cloud.opencode.base.json.stream
-
JSON Token - Token Types for Streaming JSON Parser JSON 令牌 - 流式 JSON 解析器的令牌类型
- JsonTruncator - Class in cloud.opencode.base.json.util
-
JSON Truncator - Truncates Large JSON for Logging JSON 截断器 - 截断大型 JSON 用于日志记录
- JsonTruncator.TruncateConfig - Record Class in cloud.opencode.base.json.util
-
Truncation configuration record.
- JsonTypeAdapter<T> - Interface in cloud.opencode.base.json.adapter
-
JSON Type Adapter - Custom Serialization/Deserialization JSON 类型适配器 - 自定义序列化/反序列化
- JsonTypeAdapter.None - Class in cloud.opencode.base.json.adapter
-
Placeholder class used as default value for annotation attributes that reference a
JsonTypeAdapter. - JsonTypeAdapterFactory - Interface in cloud.opencode.base.json.adapter
-
JSON Type Adapter Factory - Factory for Creating Type Adapters JSON 类型适配器工厂 - 创建类型适配器的工厂
- JsonTypeInfo - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Type Info - Polymorphic Type Handling Configuration JSON 类型信息 - 多态类型处理配置
- JsonTypeInfo.As - Enum Class in cloud.opencode.base.json.annotation
-
Type information inclusion strategy 类型信息包含策略
- JsonTypeInfo.Id - Enum Class in cloud.opencode.base.json.annotation
-
Type identifier mechanism 类型标识机制
- JsonTypeName - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Type Name - Logical Type Name for Polymorphic Handling JSON 类型名 - 多态处理的逻辑类型名
- JsonUnwrapped - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Unwrapped - Unwraps Nested Object Properties JSON 展开 - 展开嵌套对象属性
- jsonValue(String) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Writes a raw JSON value (without escaping).
- JsonValue - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Value - Marks a Method or Field as the Serialized Representation JSON 值 - 标记方法或字段作为序列化表示
- JsonView - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON View - Selective Property Serialization JSON 视图 - 选择性属性序列化
- JsonWriter - Interface in cloud.opencode.base.json.stream
-
JSON Writer - Streaming JSON Generator Interface JSON 写入器 - 流式 JSON 生成器接口
K
- KEBAB_CASE - Enum constant in enum class cloud.opencode.base.json.annotation.JsonNaming.Strategy
-
Convert camelCase to kebab-case.
- key() - Method in record class cloud.opencode.base.json.identity.ObjectIdGenerator.IdKey
-
Returns the value of the
keyrecord component. - keyAs() - Element in annotation interface cloud.opencode.base.json.annotation.JsonDeserialize
-
The concrete type to deserialize map keys as.
- keyAs() - Element in annotation interface cloud.opencode.base.json.annotation.JsonSerialize
-
The type to serialize map keys as.
- keys() - Method in interface cloud.opencode.base.json.JsonNode
-
Returns the property names (for objects).
- keys() - Method in class cloud.opencode.base.json.JsonNode.ObjectNode
- keyUsing() - Element in annotation interface cloud.opencode.base.json.annotation.JsonDeserialize
-
The deserializer class to use for map keys.
- keyUsing() - Element in annotation interface cloud.opencode.base.json.annotation.JsonSerialize
-
The serializer class to use for map keys.
- keyword() - Method in record class cloud.opencode.base.json.exception.JsonSchemaException.ValidationError
-
Returns the value of the
keywordrecord component.
L
- lenient() - Element in annotation interface cloud.opencode.base.json.annotation.JsonFormat
-
Whether lenient parsing is enabled.
- LIMIT_ENTRY_COUNT - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Limit maximum number of entries in arrays/objects.
- LIMIT_NESTING_DEPTH - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Limit maximum nesting depth to prevent stack overflow.
- LIMIT_STRING_LENGTH - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Limit maximum string length to prevent DoS attacks.
- locale() - Element in annotation interface cloud.opencode.base.json.annotation.JsonFormat
-
The locale for formatting.
- LOWER_CASE - Enum constant in enum class cloud.opencode.base.json.annotation.JsonNaming.Strategy
-
Convert to lowercase.
M
- mask(String, int, int, char) - Static method in class cloud.opencode.base.json.security.JsonSecurity
-
Masks a value with custom prefix/suffix lengths.
- mask(String, JsonMask.MaskType) - Static method in class cloud.opencode.base.json.security.JsonSecurity
-
Masks a string value based on mask type.
- mask(String, JsonMask.MaskType, char) - Static method in class cloud.opencode.base.json.security.JsonSecurity
-
Masks a string value with custom mask character.
- maskChar() - Element in annotation interface cloud.opencode.base.json.annotation.JsonMask
-
Replacement character for masking.
- maskWithPattern(String, String, String) - Static method in class cloud.opencode.base.json.security.JsonSecurity
-
Masks a value using regex pattern.
- maxArrayElements() - Method in record class cloud.opencode.base.json.util.JsonTruncator.TruncateConfig
-
Returns the value of the
maxArrayElementsrecord component. - maxDepth() - Method in record class cloud.opencode.base.json.security.JsonSecurity.SecurityOptions
-
Returns the value of the
maxDepthrecord component. - maxDepth() - Method in record class cloud.opencode.base.json.util.JsonFlattener.FlattenConfig
-
Returns the value of the
maxDepthrecord component. - maxDepth() - Method in record class cloud.opencode.base.json.util.JsonTruncator.TruncateConfig
-
Returns the value of the
maxDepthrecord component. - maxDepth(int) - Method in class cloud.opencode.base.json.JsonConfig.Builder
-
Sets the maximum nesting depth.
- maxDepth(int) - Method in class cloud.opencode.base.json.security.JsonSecurity.SecurityOptions.Builder
- maxEntries() - Method in record class cloud.opencode.base.json.security.JsonSecurity.SecurityOptions
-
Returns the value of the
maxEntriesrecord component. - maxEntries(int) - Method in class cloud.opencode.base.json.security.JsonSecurity.SecurityOptions.Builder
- maxLength() - Method in record class cloud.opencode.base.json.util.JsonTruncator.TruncateConfig
-
Returns the value of the
maxLengthrecord component. - maxSize(int) - Method in class cloud.opencode.base.json.JsonConfig.Builder
-
Sets the maximum array/object size.
- maxStringLength() - Method in record class cloud.opencode.base.json.security.JsonSecurity.SecurityOptions
-
Returns the value of the
maxStringLengthrecord component. - maxStringLength() - Method in record class cloud.opencode.base.json.util.JsonTruncator.TruncateConfig
-
Returns the value of the
maxStringLengthrecord component. - maxStringLength(int) - Method in class cloud.opencode.base.json.JsonConfig.Builder
-
Sets the maximum string length.
- maxStringLength(int) - Method in class cloud.opencode.base.json.security.JsonSecurity.SecurityOptions.Builder
- mergePatch(JsonNode, JsonNode) - Static method in class cloud.opencode.base.json.OpenJson
-
Applies a JSON Merge Patch to a document.
- message() - Method in record class cloud.opencode.base.json.exception.JsonSchemaException.ValidationError
-
Returns the value of the
messagerecord component. - minify(String) - Static method in class cloud.opencode.base.json.OpenJson
-
Minifies a JSON string by removing unnecessary whitespace.
- minify(String) - Static method in class cloud.opencode.base.json.util.JsonStrings
-
Removes all unnecessary whitespace from a JSON string.
- MINIMAL_CLASS - Enum constant in enum class cloud.opencode.base.json.annotation.JsonTypeInfo.Id
-
Minimal class name (without common package prefix).
- missingRequired(String, String) - Static method in exception class cloud.opencode.base.json.exception.JsonSchemaException
-
Creates an exception for a required property error.
- MixinSource - Class in cloud.opencode.base.json
-
Mixin Source - Manages Mixin Annotation Mappings 混入源 - 管理混入注解映射
- MixinSource() - Constructor for class cloud.opencode.base.json.MixinSource
-
Constructs an empty MixinSource.
- mode() - Element in annotation interface cloud.opencode.base.json.annotation.JsonCreator
-
The creator mode to use.
- move(String, String) - Method in class cloud.opencode.base.json.patch.JsonPatch.Builder
-
Adds a move operation.
- MOVE - Enum constant in enum class cloud.opencode.base.json.patch.JsonPatch.Operation
N
- name() - Element in annotation interface cloud.opencode.base.json.annotation.JsonSubTypes.Type
-
The primary logical type name for this subtype.
- name() - Method in record class cloud.opencode.base.json.spi.JsonProviderFactory.ProviderInfo
-
Returns the value of the
namerecord component. - name(String) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Writes a property name.
- NAME - Enum constant in enum class cloud.opencode.base.json.annotation.JsonMask.MaskType
-
Name masking - surname visible, given name hidden.
- NAME - Enum constant in enum class cloud.opencode.base.json.annotation.JsonTypeInfo.Id
-
Logical type name (must be defined via
JsonTypeNameorJsonSubTypes.Type). - NAME - Enum constant in enum class cloud.opencode.base.json.stream.JsonToken
-
A JSON property name.
- names() - Element in annotation interface cloud.opencode.base.json.annotation.JsonSubTypes.Type
-
Alternative logical type names (aliases) for this subtype.
- namespace() - Element in annotation interface cloud.opencode.base.json.annotation.JsonRootName
-
Optional namespace for XML interoperability.
- namingStrategy(JsonNaming.Strategy) - Method in class cloud.opencode.base.json.JsonConfig.Builder
-
Sets the naming strategy.
- newForDeserialization(Object) - Method in interface cloud.opencode.base.json.identity.ObjectIdResolver
-
Creates a new resolver instance for a deserialization context.
- newForDeserialization(Object) - Method in class cloud.opencode.base.json.identity.SimpleObjectIdResolver
- nextBigDecimal() - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Returns the BigDecimal value of the next token and consumes it.
- nextBigInteger() - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Returns the BigInteger value of the next token and consumes it.
- nextBoolean() - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Returns the boolean value of the next token and consumes it.
- nextDouble() - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Returns the double value of the next token and consumes it.
- nextInt() - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Returns the int value of the next token and consumes it.
- nextLong() - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Returns the long value of the next token and consumes it.
- nextName() - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Returns the next property name and consumes it.
- nextNull() - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Consumes the next null value.
- nextNumber() - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Returns the Number value of the next token and consumes it.
- nextString() - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Returns the string value of the next token and consumes it.
- NON_ABSENT - Enum constant in enum class cloud.opencode.base.json.annotation.JsonInclude.Include
-
Exclude properties with null values or absent Optional values.
- NON_DEFAULT - Enum constant in enum class cloud.opencode.base.json.annotation.JsonInclude.Include
-
Exclude properties that have their default value (e.g., 0 for int, null for objects).
- NON_EMPTY - Enum constant in enum class cloud.opencode.base.json.annotation.JsonInclude.Include
-
Exclude properties with null values, empty strings, or empty collections/maps.
- NON_NULL - Enum constant in enum class cloud.opencode.base.json.annotation.JsonInclude.Include
-
Exclude properties with null values.
- NON_PRIVATE - Enum constant in enum class cloud.opencode.base.json.annotation.JsonAutoDetect.Visibility
-
Non-private visibility (package, protected, public).
- None() - Constructor for class cloud.opencode.base.json.adapter.JsonTypeAdapter.None
- NONE - Enum constant in enum class cloud.opencode.base.json.annotation.JsonAutoDetect.Visibility
-
No auto-detection.
- NOT_AVAILABLE - Enum constant in enum class cloud.opencode.base.json.stream.JsonToken
-
Not available - parser needs to be advanced.
- NULL - Enum constant in enum class cloud.opencode.base.json.stream.JsonToken
-
A JSON null value.
- nullNode() - Static method in interface cloud.opencode.base.json.JsonNode
-
Creates a null node.
- NullNode() - Constructor for record class cloud.opencode.base.json.JsonNode.NullNode
-
Creates an instance of a
NullNoderecord class. - nullValue() - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Writes a null value.
- NUMBER - Enum constant in enum class cloud.opencode.base.json.annotation.JsonFormat.Shape
-
Force number output.
- NUMBER - Enum constant in enum class cloud.opencode.base.json.stream.JsonToken
-
A JSON number value.
- NUMBER_FLOAT - Enum constant in enum class cloud.opencode.base.json.annotation.JsonFormat.Shape
-
Force floating-point number output.
- NUMBER_INT - Enum constant in enum class cloud.opencode.base.json.annotation.JsonFormat.Shape
-
Force integer number output.
- NumberNode(Number) - Constructor for record class cloud.opencode.base.json.JsonNode.NumberNode
-
Creates an instance of a
NumberNoderecord class.
O
- object() - Static method in interface cloud.opencode.base.json.JsonNode
-
Creates an empty object node.
- OBJECT - Enum constant in enum class cloud.opencode.base.json.annotation.JsonFormat.Shape
-
Force object output.
- ObjectIdGenerator<T> - Class in cloud.opencode.base.json.identity
-
Object ID Generator - Abstract Base for Generating Object Identifiers 对象 ID 生成器 - 生成对象标识符的抽象基类
- ObjectIdGenerator() - Constructor for class cloud.opencode.base.json.identity.ObjectIdGenerator
- ObjectIdGenerator.IdKey - Record Class in cloud.opencode.base.json.identity
-
ID Key - Composite Key for Object Identity Tracking ID 键 - 用于对象身份跟踪的复合键
- ObjectIdGenerators - Class in cloud.opencode.base.json.identity
-
Object ID Generators - Common Object Identity Generator Implementations 对象 ID 生成器集合 - 常用对象身份生成器实现
- ObjectIdGenerators.IntSequenceGenerator - Class in cloud.opencode.base.json.identity
-
Integer Sequence Generator - Auto-Incrementing Integer IDs 整数序列生成器 - 自增整数 ID
- ObjectIdGenerators.PropertyGenerator - Class in cloud.opencode.base.json.identity
-
Property Generator - Uses an Existing Property as Object ID 属性生成器 - 使用现有属性作为对象 ID
- ObjectIdGenerators.StringIdGenerator - Class in cloud.opencode.base.json.identity
-
String ID Generator - String-Based Object IDs 字符串 ID 生成器 - 基于字符串的对象 ID
- ObjectIdGenerators.UUIDGenerator - Class in cloud.opencode.base.json.identity
-
UUID Generator - UUID-Based Object IDs UUID 生成器 - 基于 UUID 的对象 ID
- ObjectIdResolver - Interface in cloud.opencode.base.json.identity
-
Object ID Resolver - Resolves Object Identity References 对象 ID 解析器 - 解析对象身份引用
- ObjectNode() - Constructor for class cloud.opencode.base.json.JsonNode.ObjectNode
- of(boolean) - Static method in interface cloud.opencode.base.json.JsonNode
-
Creates a boolean node.
- of(JsonNode) - Static method in class cloud.opencode.base.json.patch.JsonMergePatch
-
Creates a merge patch from a JsonNode.
- of(JsonNode) - Static method in class cloud.opencode.base.json.schema.JsonSchemaValidator
-
Creates a validator for the given schema.
- of(Class) - Static method in class cloud.opencode.base.json.TypeReference
-
Creates a TypeReference for a simple Class.
- of(Class, Function, Function) - Static method in interface cloud.opencode.base.json.adapter.JsonTypeAdapter
-
Creates a simple adapter from lambdas.
- of(Number) - Static method in interface cloud.opencode.base.json.JsonNode
-
Creates a number node.
- of(Object) - Static method in interface cloud.opencode.base.json.JsonNode
-
Creates a node from a value.
- of(Type) - Static method in class cloud.opencode.base.json.TypeReference
-
Creates a TypeReference for a Type.
- of(String) - Static method in interface cloud.opencode.base.json.JsonNode
-
Creates a string node.
- of(String...) - Static method in class cloud.opencode.base.json.path.JsonPointer
-
Creates a JsonPointer from reference tokens.
- of(List) - Static method in class cloud.opencode.base.json.patch.JsonPatch
-
Creates a patch from a list of operations.
- of(List) - Static method in class cloud.opencode.base.json.path.JsonPointer
-
Creates a JsonPointer from reference tokens.
- ofString(Class, Function, Function) - Static method in interface cloud.opencode.base.json.adapter.JsonTypeAdapter
-
Creates an adapter for simple string conversion.
- op() - Method in record class cloud.opencode.base.json.patch.JsonPatch.PatchOperation
-
Returns the value of the
oprecord component. - OpenJson - Class in cloud.opencode.base.json
-
OpenJson - Unified JSON Processing Facade OpenJson - 统一 JSON 处理门面
- OpenJsonProcessingException - Exception Class in cloud.opencode.base.json.exception
-
JSON Processing Exception - Base Exception for JSON Operations JSON 处理异常 - JSON 操作的基础异常
- OpenJsonProcessingException(String) - Constructor for exception class cloud.opencode.base.json.exception.OpenJsonProcessingException
-
Constructs a new exception with the specified message.
- OpenJsonProcessingException(String, OpenJsonProcessingException.ErrorType) - Constructor for exception class cloud.opencode.base.json.exception.OpenJsonProcessingException
-
Constructs a new exception with the specified message and error type.
- OpenJsonProcessingException(String, OpenJsonProcessingException.ErrorType, Throwable) - Constructor for exception class cloud.opencode.base.json.exception.OpenJsonProcessingException
-
Constructs a new exception with the specified message, error type, and cause.
- OpenJsonProcessingException(String, OpenJsonProcessingException.ErrorType, Throwable, int, int, String) - Constructor for exception class cloud.opencode.base.json.exception.OpenJsonProcessingException
-
Constructs a new exception with full location information.
- OpenJsonProcessingException(String, Throwable) - Constructor for exception class cloud.opencode.base.json.exception.OpenJsonProcessingException
-
Constructs a new exception with the specified message and cause.
- OpenJsonProcessingException.ErrorType - Enum Class in cloud.opencode.base.json.exception
-
Error type enumeration 错误类型枚举
P
- parent() - Method in class cloud.opencode.base.json.path.JsonPointer
-
Returns the parent pointer.
- parse(byte[]) - Static method in class cloud.opencode.base.json.OpenJson
-
Parses JSON bytes to JsonNode tree.
- parse(String) - Static method in class cloud.opencode.base.json.OpenJson
-
Parses JSON string to JsonNode tree.
- parse(String) - Static method in class cloud.opencode.base.json.path.JsonPointer
-
Parses a JSON Pointer string.
- PARSE_ERROR - Enum constant in enum class cloud.opencode.base.json.exception.OpenJsonProcessingException.ErrorType
-
Parsing error - 解析错误
- parseError(String) - Static method in exception class cloud.opencode.base.json.exception.OpenJsonProcessingException
-
Creates a parse error exception.
- parseError(String, int, int) - Static method in exception class cloud.opencode.base.json.exception.OpenJsonProcessingException
-
Creates a parse error exception with location.
- parseTree(byte[]) - Method in class cloud.opencode.base.json.OpenJson
-
Parses JSON bytes to tree.
- parseTree(byte[]) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Parses JSON bytes to a JsonNode tree.
- parseTree(String) - Method in class cloud.opencode.base.json.OpenJson
-
Parses JSON to tree.
- parseTree(String) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Parses a JSON string to a JsonNode tree.
- PASCAL_CASE - Enum constant in enum class cloud.opencode.base.json.annotation.JsonNaming.Strategy
-
Convert camelCase to PascalCase.
- PASSWORD - Enum constant in enum class cloud.opencode.base.json.annotation.JsonMask.MaskType
-
Password masking - all characters replaced with *.
- patch(JsonNode, JsonPatch) - Static method in class cloud.opencode.base.json.OpenJson
-
Applies a JSON Patch to a document.
- PatchOperation(JsonPatch.Operation, String) - Constructor for record class cloud.opencode.base.json.patch.JsonPatch.PatchOperation
- PatchOperation(JsonPatch.Operation, String, JsonNode) - Constructor for record class cloud.opencode.base.json.patch.JsonPatch.PatchOperation
- PatchOperation(JsonPatch.Operation, String, String) - Constructor for record class cloud.opencode.base.json.patch.JsonPatch.PatchOperation
- PatchOperation(JsonPatch.Operation, String, String, JsonNode) - Constructor for record class cloud.opencode.base.json.patch.JsonPatch.PatchOperation
-
Creates an instance of a
PatchOperationrecord class. - path() - Method in record class cloud.opencode.base.json.diff.JsonDiff.Difference
-
Returns the value of the
pathrecord component. - path() - Method in record class cloud.opencode.base.json.exception.JsonSchemaException.ValidationError
-
Returns the value of the
pathrecord component. - path() - Method in record class cloud.opencode.base.json.patch.JsonPatch.PatchOperation
-
Returns the value of the
pathrecord component. - PATH_ERROR - Enum constant in enum class cloud.opencode.base.json.exception.OpenJsonProcessingException.ErrorType
-
Path evaluation error - 路径求值错误
- pathError(String) - Static method in exception class cloud.opencode.base.json.exception.OpenJsonProcessingException
-
Creates a path evaluation error exception.
- pattern() - Element in annotation interface cloud.opencode.base.json.annotation.JsonFormat
-
The pattern for formatting (e.g., date patterns).
- pattern() - Element in annotation interface cloud.opencode.base.json.annotation.JsonMask
-
Custom regex pattern for CUSTOM mask type.
- patternMismatch(String, String, String) - Static method in exception class cloud.opencode.base.json.exception.JsonSchemaException
-
Creates an exception for a pattern mismatch error.
- peek() - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Returns the type of the next token without consuming it.
- PHONE - Enum constant in enum class cloud.opencode.base.json.annotation.JsonMask.MaskType
-
Phone number masking - middle 4 digits hidden.
- prefix() - Element in annotation interface cloud.opencode.base.json.annotation.JsonUnwrapped
-
Prefix to prepend to unwrapped property names.
- prefixLength() - Element in annotation interface cloud.opencode.base.json.annotation.JsonMask
-
Number of visible characters at the start.
- PRETTY_PRINT - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Enable pretty printing with indentation.
- prettyPrint() - Method in class cloud.opencode.base.json.JsonConfig.Builder
-
Enables pretty printing.
- prettyPrint(String) - Static method in class cloud.opencode.base.json.OpenJson
-
Pretty-prints a JSON string with standard 2-space indentation.
- prettyPrint(String) - Static method in class cloud.opencode.base.json.util.JsonStrings
-
Pretty-prints a JSON string with 2-space indentation.
- prettyPrint(String, String) - Static method in class cloud.opencode.base.json.util.JsonStrings
-
Pretty-prints a JSON string with the specified indentation.
- priority() - Method in record class cloud.opencode.base.json.spi.JsonProviderFactory.ProviderInfo
-
Returns the value of the
priorityrecord component. - PROPERTIES - Enum constant in enum class cloud.opencode.base.json.annotation.JsonCreator.Mode
-
Multi-argument creator where each argument corresponds to a JSON property.
- property() - Element in annotation interface cloud.opencode.base.json.annotation.JsonIdentityInfo
-
The name of the JSON property used to store the object identity.
- property() - Element in annotation interface cloud.opencode.base.json.annotation.JsonTypeInfo
-
The property name used for the type identifier when using property-based inclusion.
- property(String, boolean) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Writes a name/value pair.
- property(String, double) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Writes a name/value pair.
- property(String, int) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Writes a name/value pair.
- property(String, long) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Writes a name/value pair.
- property(String, Number) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Writes a name/value pair.
- property(String, String) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Writes a name/value pair.
- PROPERTY - Enum constant in enum class cloud.opencode.base.json.annotation.JsonTypeInfo.As
-
Type info is included as a JSON property of the object.
- PropertyFilter - Interface in cloud.opencode.base.json
-
Property Filter - Dynamic Property Filtering for JSON Serialization 属性过滤器 - JSON 序列化的动态属性过滤
- PropertyGenerator() - Constructor for class cloud.opencode.base.json.identity.ObjectIdGenerators.PropertyGenerator
-
Creates a generator with default scope (
Object.class). - PropertyGenerator(Class) - Constructor for class cloud.opencode.base.json.identity.ObjectIdGenerators.PropertyGenerator
-
Creates a generator with the specified scope.
- propertyNull(String) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Writes a name/null pair.
- PROTECTED_AND_PUBLIC - Enum constant in enum class cloud.opencode.base.json.annotation.JsonAutoDetect.Visibility
-
Protected and public visibility. protected和public可见性。
- ProviderInfo(String, String, int, boolean) - Constructor for record class cloud.opencode.base.json.spi.JsonProviderFactory.ProviderInfo
-
Creates an instance of a
ProviderInforecord class. - PUBLIC_ONLY - Enum constant in enum class cloud.opencode.base.json.annotation.JsonAutoDetect.Visibility
-
Public visibility only.
- put(String, boolean) - Method in class cloud.opencode.base.json.JsonNode.ObjectNode
- put(String, JsonNode) - Method in class cloud.opencode.base.json.JsonNode.ObjectNode
- put(String, Number) - Method in class cloud.opencode.base.json.JsonNode.ObjectNode
- put(String, String) - Method in class cloud.opencode.base.json.JsonNode.ObjectNode
- putArray(String) - Method in class cloud.opencode.base.json.JsonNode.ObjectNode
- putNull(String) - Method in class cloud.opencode.base.json.JsonNode.ObjectNode
- putObject(String) - Method in class cloud.opencode.base.json.JsonNode.ObjectNode
R
- ReactiveJsonReader - Interface in cloud.opencode.base.json.reactive
-
Reactive JSON Reader - Reactive streaming JSON parser interface 响应式JSON读取器 - 响应式流式JSON解析器接口
- ReactiveJsonWriter - Interface in cloud.opencode.base.json.reactive
-
Reactive JSON Writer - Reactive streaming JSON writer interface 响应式JSON写入器 - 响应式流式JSON写入器接口
- read(JsonNode, String) - Static method in class cloud.opencode.base.json.path.JsonPath
-
Reads all matching values from a JSON node.
- read(JsonReader) - Method in interface cloud.opencode.base.json.adapter.JsonTypeAdapter
-
Reads the value directly from a JsonReader (optional).
- READ_DATE_TIMESTAMPS_AS_NANOSECONDS - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Read date timestamps with nanosecond precision.
- READ_ONLY - Enum constant in enum class cloud.opencode.base.json.annotation.JsonProperty.Access
-
Property is only serialized (read-only).
- READ_UNKNOWN_ENUM_VALUES_AS_NULL - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Read unknown enum values as null instead of throwing.
- READ_UNKNOWN_ENUM_VALUES_USING_DEFAULT_VALUE - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Use @JsonEnumDefaultValue for unknown enum values.
- readArrayElements(Class) - Method in interface cloud.opencode.base.json.reactive.ReactiveJsonReader
-
Reads JSON array elements as a reactive publisher.
- readArrayElements(Class, int) - Method in interface cloud.opencode.base.json.reactive.ReactiveJsonReader
-
Reads JSON array elements with batch size control.
- readFirst(JsonNode, String) - Static method in class cloud.opencode.base.json.path.JsonPath
-
Reads the first matching value from a JSON node.
- readValues(Class) - Method in interface cloud.opencode.base.json.reactive.ReactiveJsonReader
-
Reads objects from the JSON stream as a reactive publisher.
- readValues(Class, int) - Method in interface cloud.opencode.base.json.reactive.ReactiveJsonReader
-
Reads objects with specified batch size for backpressure control.
- register(JsonTypeAdapter) - Static method in class cloud.opencode.base.json.adapter.JsonAdapterRegistry
-
Registers a type adapter.
- register(JsonTypeAdapter) - Method in class cloud.opencode.base.json.adapter.JsonAdapterRegistry.Registry
- register(Class, JsonTypeAdapter) - Static method in class cloud.opencode.base.json.adapter.JsonAdapterRegistry
-
Registers an adapter for a specific type.
- register(Class, JsonTypeAdapter) - Method in class cloud.opencode.base.json.adapter.JsonAdapterRegistry.Registry
- registerFactory(JsonAdapterRegistry.AdapterFactory) - Static method in class cloud.opencode.base.json.adapter.JsonAdapterRegistry
-
Registers an adapter factory.
- registerFactory(JsonAdapterRegistry.AdapterFactory) - Method in class cloud.opencode.base.json.adapter.JsonAdapterRegistry.Registry
- registerModule(JsonModule) - Method in class cloud.opencode.base.json.OpenJson
-
Registers a JSON module with this instance.
- registerProvider(JsonProvider) - Static method in class cloud.opencode.base.json.spi.JsonProviderFactory
-
Registers a provider.
- Registry() - Constructor for class cloud.opencode.base.json.adapter.JsonAdapterRegistry.Registry
- rejectDangerousKeys() - Method in record class cloud.opencode.base.json.security.JsonSecurity.SecurityOptions
-
Returns the value of the
rejectDangerousKeysrecord component. - rejectDangerousKeys(boolean) - Method in class cloud.opencode.base.json.security.JsonSecurity.SecurityOptions.Builder
- reload() - Static method in class cloud.opencode.base.json.spi.JsonProviderFactory
-
Reloads providers from ServiceLoader.
- remove(int) - Method in class cloud.opencode.base.json.JsonNode.ArrayNode
- remove(String) - Method in class cloud.opencode.base.json.JsonNode.ObjectNode
- remove(String) - Method in class cloud.opencode.base.json.patch.JsonMergePatch.Builder
-
Removes a property (sets it to null in patch).
- remove(String) - Method in class cloud.opencode.base.json.patch.JsonPatch.Builder
-
Adds a remove operation.
- REMOVE - Enum constant in enum class cloud.opencode.base.json.patch.JsonPatch.Operation
- REMOVED - Enum constant in enum class cloud.opencode.base.json.diff.JsonDiff.DiffType
-
Value was removed - 值被移除
- removeMixin(Class) - Method in class cloud.opencode.base.json.MixinSource
-
Removes the mixin mapping for a target type.
- replace(String, JsonNode) - Method in class cloud.opencode.base.json.patch.JsonPatch.Builder
-
Adds a replace operation.
- REPLACE - Enum constant in enum class cloud.opencode.base.json.patch.JsonPatch.Operation
- required() - Element in annotation interface cloud.opencode.base.json.annotation.JsonProperty
-
Whether this property is required during deserialization.
- resolveId(ObjectIdGenerator.IdKey) - Method in interface cloud.opencode.base.json.identity.ObjectIdResolver
-
Resolves an object identity key to a previously bound POJO instance.
- resolveId(ObjectIdGenerator.IdKey) - Method in class cloud.opencode.base.json.identity.SimpleObjectIdResolver
- resolver() - Element in annotation interface cloud.opencode.base.json.annotation.JsonIdentityInfo
-
The resolver class used to look up previously seen objects by their ID.
- ROOT - Static variable in class cloud.opencode.base.json.path.JsonPointer
-
Empty/root pointer 空/根指针
S
- sanitizeForHtml(JsonNode) - Static method in class cloud.opencode.base.json.security.JsonSecurity
-
Sanitizes all string values in a JSON tree for HTML output.
- sanitizeForHtml(String) - Static method in class cloud.opencode.base.json.security.JsonSecurity
-
Sanitizes a string for safe HTML output.
- sanitizeStrings() - Method in record class cloud.opencode.base.json.security.JsonSecurity.SecurityOptions
-
Returns the value of the
sanitizeStringsrecord component. - sanitizeStrings(boolean) - Method in class cloud.opencode.base.json.security.JsonSecurity.SecurityOptions.Builder
- SCALAR - Enum constant in enum class cloud.opencode.base.json.annotation.JsonFormat.Shape
-
Force scalar (non-structured) value.
- schemaUri(String) - Method in class cloud.opencode.base.json.exception.JsonSchemaException.Builder
-
Sets the schema URI.
- scope() - Element in annotation interface cloud.opencode.base.json.annotation.JsonIdentityInfo
-
The scope class for determining ID uniqueness boundaries.
- scope() - Method in record class cloud.opencode.base.json.identity.ObjectIdGenerator.IdKey
-
Returns the value of the
scoperecord component. - SECURITY - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature.Category
-
Security features - 安全特性
- SecurityOptions(int, int, int, boolean, boolean) - Constructor for record class cloud.opencode.base.json.security.JsonSecurity.SecurityOptions
-
Creates an instance of a
SecurityOptionsrecord class. - select(JsonNode, String) - Static method in class cloud.opencode.base.json.OpenJson
-
Selects nodes using JSONPath.
- select(String) - Method in interface cloud.opencode.base.json.JsonNode
-
Selects nodes using JSONPath expression.
- selectFirst(JsonNode, String) - Static method in class cloud.opencode.base.json.OpenJson
-
Selects first matching node using JSONPath.
- separator() - Method in record class cloud.opencode.base.json.util.JsonFlattener.FlattenConfig
-
Returns the value of the
separatorrecord component. - SERIALIZATION - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature.Category
-
Serialization features - 序列化特性
- SERIALIZATION_ERROR - Enum constant in enum class cloud.opencode.base.json.exception.OpenJsonProcessingException.ErrorType
-
Serialization error - 序列化错误
- serializationError(String, Throwable) - Static method in exception class cloud.opencode.base.json.exception.OpenJsonProcessingException
-
Creates a serialization error exception.
- serialize() - Element in annotation interface cloud.opencode.base.json.annotation.JsonIgnore
-
Whether to ignore during serialization.
- serialize(Object) - Method in class cloud.opencode.base.json.OpenJson
-
Serializes an object to JSON string.
- serialize(Object, OutputStream) - Method in class cloud.opencode.base.json.OpenJson
-
Serializes an object to an OutputStream.
- serialize(Object, Writer) - Method in class cloud.opencode.base.json.OpenJson
-
Serializes an object to a Writer.
- serializeToBytes(Object) - Method in class cloud.opencode.base.json.OpenJson
-
Serializes an object to JSON bytes.
- set(int, JsonNode) - Method in class cloud.opencode.base.json.JsonNode.ArrayNode
- set(String, boolean) - Method in class cloud.opencode.base.json.patch.JsonMergePatch.Builder
-
Sets a boolean property value.
- set(String, JsonNode) - Method in class cloud.opencode.base.json.patch.JsonMergePatch.Builder
-
Sets a property value.
- set(String, Number) - Method in class cloud.opencode.base.json.patch.JsonMergePatch.Builder
-
Sets a number property value.
- set(String, String) - Method in class cloud.opencode.base.json.patch.JsonMergePatch.Builder
-
Sets a string property value.
- setDefaultProvider(JsonProvider) - Static method in class cloud.opencode.base.json.spi.JsonProviderFactory
-
Sets the default provider.
- setDefaultProvider(String) - Static method in class cloud.opencode.base.json.spi.JsonProviderFactory
-
Sets the default provider by name.
- setHtmlSafe(boolean) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Sets whether HTML-safe mode is enabled.
- setIndent(String) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Sets the indentation string for pretty printing.
- setLenient(boolean) - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Sets whether this reader is lenient in parsing.
- setLenient(boolean) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Sets whether this writer is lenient.
- setPropertyFilter(String, PropertyFilter) - Method in class cloud.opencode.base.json.OpenJson
-
Registers a named property filter.
- setSerializeNulls(boolean) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Sets whether to serialize nulls.
- setterVisibility() - Element in annotation interface cloud.opencode.base.json.annotation.JsonAutoDetect
-
Minimum visibility for auto-detecting setters.
- setupModule(JsonModule.SetupContext) - Method in interface cloud.opencode.base.json.spi.JsonModule
-
Configures the module using the provided setup context.
- setupModule(JsonModule.SetupContext) - Method in class cloud.opencode.base.json.spi.JsonModule.SimpleModule
- shape() - Element in annotation interface cloud.opencode.base.json.annotation.JsonFormat
-
The shape of the serialized value.
- SimpleModule(String, String) - Constructor for class cloud.opencode.base.json.spi.JsonModule.SimpleModule
-
Constructs a SimpleModule with the given name and version.
- SimpleObjectIdResolver - Class in cloud.opencode.base.json.identity
-
Simple Object ID Resolver - Default HashMap-Based Identity Resolver 简单对象 ID 解析器 - 默认基于 HashMap 的身份解析器
- SimpleObjectIdResolver() - Constructor for class cloud.opencode.base.json.identity.SimpleObjectIdResolver
-
Creates a new SimpleObjectIdResolver with an empty identity map.
- size() - Method in class cloud.opencode.base.json.JsonNode.ArrayNode
- size() - Method in class cloud.opencode.base.json.JsonNode.ObjectNode
- size() - Method in interface cloud.opencode.base.json.JsonNode
-
Returns the number of children (for objects/arrays).
- size() - Method in class cloud.opencode.base.json.MixinSource
-
Returns the number of registered mixin mappings.
- size() - Method in class cloud.opencode.base.json.patch.JsonPatch
-
Returns the number of operations.
- skipArray() - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Skips the rest of the current array.
- skipObject() - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Skips the rest of the current object.
- skipValue() - Method in interface cloud.opencode.base.json.stream.JsonReader
-
Skips the next value recursively.
- SNAKE_CASE - Enum constant in enum class cloud.opencode.base.json.annotation.JsonNaming.Strategy
-
Convert camelCase to snake_case.
- SORT_MAP_KEYS - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Sort map keys alphabetically.
- source() - Method in record class cloud.opencode.base.json.diff.JsonDiff.DiffResult
-
Returns the value of the
sourcerecord component. - sourceValue() - Method in record class cloud.opencode.base.json.diff.JsonDiff.Difference
-
Returns the value of the
sourceValuerecord component. - START_ARRAY - Enum constant in enum class cloud.opencode.base.json.stream.JsonToken
-
Start of a JSON array ([).
- START_OBJECT - Enum constant in enum class cloud.opencode.base.json.stream.JsonToken
-
Start of a JSON object ({).
- STRING - Enum constant in enum class cloud.opencode.base.json.annotation.JsonFormat.Shape
-
Force string output.
- STRING - Enum constant in enum class cloud.opencode.base.json.stream.JsonToken
-
A JSON string value.
- StringIdGenerator() - Constructor for class cloud.opencode.base.json.identity.ObjectIdGenerators.StringIdGenerator
-
Creates a generator with default scope (
Object.class). - StringIdGenerator(Class) - Constructor for class cloud.opencode.base.json.identity.ObjectIdGenerators.StringIdGenerator
-
Creates a generator with the specified scope.
- StringNode(String) - Constructor for record class cloud.opencode.base.json.JsonNode.StringNode
-
Creates an instance of a
StringNoderecord class. - structuralEquals(JsonNode, JsonNode) - Static method in class cloud.opencode.base.json.OpenJson
-
Compares two JSON nodes for structural equality (ignoring object key order).
- success() - Static method in record class cloud.opencode.base.json.schema.JsonSchemaValidator.ValidationResult
- suffix() - Element in annotation interface cloud.opencode.base.json.annotation.JsonUnwrapped
-
Suffix to append to unwrapped property names.
- suffixLength() - Element in annotation interface cloud.opencode.base.json.annotation.JsonMask
-
Number of visible characters at the end.
- summary(JsonNode) - Static method in class cloud.opencode.base.json.util.JsonTruncator
-
Returns a brief summary of the node's type and size.
- supportsFeature(JsonFeature) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Returns whether a feature is supported by this provider.
- supportsStreaming() - Method in interface cloud.opencode.base.json.adapter.JsonTypeAdapter
-
Returns whether this adapter supports streaming.
T
- target() - Method in record class cloud.opencode.base.json.diff.JsonDiff.DiffResult
-
Returns the value of the
targetrecord component. - targetValue() - Method in record class cloud.opencode.base.json.diff.JsonDiff.Difference
-
Returns the value of the
targetValuerecord component. - test(String, JsonNode) - Method in class cloud.opencode.base.json.patch.JsonPatch.Builder
-
Adds a test operation.
- TEST - Enum constant in enum class cloud.opencode.base.json.patch.JsonPatch.Operation
- throwIfErrors() - Method in class cloud.opencode.base.json.exception.JsonSchemaException.Builder
-
Builds and throws the exception if there are errors.
- timezone() - Element in annotation interface cloud.opencode.base.json.annotation.JsonFormat
-
The timezone for date/time values.
- timezone(String) - Method in class cloud.opencode.base.json.JsonConfig.Builder
-
Sets the timezone by ID.
- timezone(ZoneId) - Method in class cloud.opencode.base.json.JsonConfig.Builder
-
Sets the timezone.
- toBuilder() - Method in class cloud.opencode.base.json.JsonConfig
-
Creates a builder initialized with this config.
- toJson(Object) - Static method in class cloud.opencode.base.json.OpenJson
-
Serializes an object to JSON string.
- toJson(Object) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Serializes an object to a JSON string.
- toJson(Object, OutputStream) - Static method in class cloud.opencode.base.json.OpenJson
-
Serializes an object to an OutputStream.
- toJson(Object, OutputStream) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Serializes an object to an OutputStream.
- toJson(Object, Writer) - Static method in class cloud.opencode.base.json.OpenJson
-
Serializes an object to a Writer.
- toJson(Object, Writer) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Serializes an object to a Writer.
- toJson(T) - Method in interface cloud.opencode.base.json.adapter.JsonTypeAdapter
-
Serializes a value to a JsonNode.
- toJsonBytes(Object) - Static method in class cloud.opencode.base.json.OpenJson
-
Serializes an object to JSON bytes.
- toJsonBytes(Object) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Serializes an object to a JSON byte array.
- toList() - Method in class cloud.opencode.base.json.JsonNode.ArrayNode
- toMap() - Method in class cloud.opencode.base.json.JsonNode.ObjectNode
- toPatch() - Method in record class cloud.opencode.base.json.diff.JsonDiff.DiffResult
-
Converts this diff result to a JSON Patch.
- toPrettyJson(Object) - Static method in class cloud.opencode.base.json.OpenJson
-
Serializes an object to pretty-printed JSON.
- toString() - Method in record class cloud.opencode.base.json.diff.JsonDiff.Difference
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.json.diff.JsonDiff.DiffResult
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.json.exception.JsonSchemaException.ValidationError
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.json.identity.ObjectIdGenerator.IdKey
-
Returns a string representation of this record class.
- toString() - Method in class cloud.opencode.base.json.JsonNode.ArrayNode
- toString() - Method in record class cloud.opencode.base.json.JsonNode.BooleanNode
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.json.JsonNode.NullNode
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.json.JsonNode.NumberNode
-
Returns a string representation of this record class.
- toString() - Method in class cloud.opencode.base.json.JsonNode.ObjectNode
- toString() - Method in record class cloud.opencode.base.json.JsonNode.StringNode
-
Returns a string representation of this record class.
- toString() - Method in class cloud.opencode.base.json.MixinSource
- toString() - Method in record class cloud.opencode.base.json.patch.JsonPatch.PatchOperation
-
Returns a string representation of this record class.
- toString() - Method in class cloud.opencode.base.json.path.JsonPath
- toString() - Method in class cloud.opencode.base.json.path.JsonPointer
-
Returns the pointer string representation.
- toString() - Method in record class cloud.opencode.base.json.schema.JsonSchemaValidator.ValidationResult
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.json.security.JsonSecurity.SecurityOptions
-
Returns a string representation of this record class.
- toString() - Method in class cloud.opencode.base.json.spi.JsonModule.SimpleModule
- toString() - Method in record class cloud.opencode.base.json.spi.JsonProviderFactory.ProviderInfo
-
Returns a string representation of this record class.
- toString() - Method in class cloud.opencode.base.json.TypeReference
- toString() - Method in record class cloud.opencode.base.json.util.JsonFlattener.FlattenConfig
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.json.util.JsonTruncator.TruncateConfig
-
Returns a string representation of this record class.
- toTree(Object) - Static method in class cloud.opencode.base.json.OpenJson
-
Converts object to JsonNode tree.
- treeToObject(JsonNode, Class) - Method in class cloud.opencode.base.json.OpenJson
-
Converts tree to object.
- treeToValue(JsonNode, Class) - Static method in class cloud.opencode.base.json.OpenJson
-
Converts JsonNode to object.
- treeToValue(JsonNode, Class) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Converts a JsonNode to an object of the specified class.
- truncate(JsonNode, JsonTruncator.TruncateConfig) - Static method in class cloud.opencode.base.json.util.JsonTruncator
-
Truncates a JsonNode tree according to the specified configuration.
- truncate(String, int) - Static method in class cloud.opencode.base.json.OpenJson
-
Truncates a JSON string to the specified maximum length for logging.
- truncate(String, int) - Static method in class cloud.opencode.base.json.util.JsonTruncator
-
Truncates a JSON string to the specified maximum length.
- TruncateConfig(int, int, int, int, String) - Constructor for record class cloud.opencode.base.json.util.JsonTruncator.TruncateConfig
-
Validates the configuration parameters.
- truncationMarker() - Method in record class cloud.opencode.base.json.util.JsonTruncator.TruncateConfig
-
Returns the value of the
truncationMarkerrecord component. - type() - Element in annotation interface cloud.opencode.base.json.annotation.JsonMask
-
The masking type.
- type() - Method in record class cloud.opencode.base.json.diff.JsonDiff.Difference
-
Returns the value of the
typerecord component. - type() - Method in record class cloud.opencode.base.json.identity.ObjectIdGenerator.IdKey
-
Returns the value of the
typerecord component. - TYPE_CHANGED - Enum constant in enum class cloud.opencode.base.json.diff.JsonDiff.DiffType
-
Type was changed - 类型被更改
- TYPE_CONVERSION_ERROR - Enum constant in enum class cloud.opencode.base.json.exception.OpenJsonProcessingException.ErrorType
-
Type conversion error - 类型转换错误
- typeConversionError(String) - Static method in exception class cloud.opencode.base.json.exception.OpenJsonProcessingException
-
Creates a type conversion error exception.
- typeMismatch(String, String, String) - Static method in exception class cloud.opencode.base.json.exception.JsonSchemaException
-
Creates an exception for a type mismatch error.
- TypeReference<T> - Class in cloud.opencode.base.json
-
Type Reference - Generic Type Token for JSON Deserialization 类型引用 - 用于 JSON 反序列化的泛型类型令牌
- TypeReference() - Constructor for class cloud.opencode.base.json.TypeReference
-
Constructs a new type reference.
U
- unescape(String) - Static method in class cloud.opencode.base.json.util.JsonStrings
-
Unescapes a JSON string value (reverse of escape).
- unflatten(Map) - Static method in class cloud.opencode.base.json.OpenJson
-
Restores a flattened map back to a nested JSON node.
- unflatten(Map) - Static method in class cloud.opencode.base.json.util.JsonFlattener
-
Unflattens a flat map back into a nested JSON tree using the default "." separator.
- unflatten(Map, String) - Static method in class cloud.opencode.base.json.util.JsonFlattener
-
Unflattens a flat map back into a nested JSON tree using a custom separator.
- UNKNOWN - Enum constant in enum class cloud.opencode.base.json.exception.OpenJsonProcessingException.ErrorType
-
Unknown error - 未知错误
- unregister(Class) - Static method in class cloud.opencode.base.json.adapter.JsonAdapterRegistry
-
Unregisters an adapter for a type.
- unregisterProvider(String) - Static method in class cloud.opencode.base.json.spi.JsonProviderFactory
-
Unregisters a provider by name.
- UNWRAP_ROOT_VALUE - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Unwrap root element wrapping during deserialization.
- UPPER_SNAKE_CASE - Enum constant in enum class cloud.opencode.base.json.annotation.JsonNaming.Strategy
-
Convert camelCase to UPPER_SNAKE_CASE.
- USE_BIG_DECIMAL_FOR_FLOATS - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Use BigDecimal for floating-point numbers.
- USE_BIG_INTEGER_FOR_INTS - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Use BigInteger for large integers.
- USE_DEFAULTS - Enum constant in enum class cloud.opencode.base.json.annotation.JsonInclude.Include
-
Use defaults from class-level annotation or global configuration.
- useInput() - Element in annotation interface cloud.opencode.base.json.annotation.JsonInject
-
Whether JSON input can override the injected value.
- using() - Element in annotation interface cloud.opencode.base.json.annotation.JsonDeserialize
-
The deserializer class to use for the annotated value.
- using() - Element in annotation interface cloud.opencode.base.json.annotation.JsonSerialize
-
The serializer class to use for the annotated value.
- UUIDGenerator() - Constructor for class cloud.opencode.base.json.identity.ObjectIdGenerators.UUIDGenerator
-
Creates a generator with default scope (
Object.class). - UUIDGenerator(Class) - Constructor for class cloud.opencode.base.json.identity.ObjectIdGenerators.UUIDGenerator
-
Creates a generator with the specified scope.
V
- valid() - Method in record class cloud.opencode.base.json.schema.JsonSchemaValidator.ValidationResult
-
Returns the value of the
validrecord component. - validate(JsonNode) - Method in class cloud.opencode.base.json.patch.JsonPatch
-
Validates this patch against a target without applying.
- validate(JsonNode) - Method in class cloud.opencode.base.json.schema.JsonSchemaValidator
-
Validates data against this validator's schema.
- validate(JsonNode, JsonNode) - Static method in class cloud.opencode.base.json.OpenJson
-
Validates JSON against a schema.
- validate(JsonNode, JsonNode) - Static method in class cloud.opencode.base.json.schema.JsonSchemaValidator
-
Validates data against a schema.
- validate(JsonNode, JsonSecurity.SecurityOptions) - Static method in class cloud.opencode.base.json.security.JsonSecurity
-
Validates a JSON node against security options.
- validateDepth(JsonNode, int) - Static method in class cloud.opencode.base.json.security.JsonSecurity
-
Validates JSON depth.
- validateOrThrow(JsonNode) - Method in class cloud.opencode.base.json.schema.JsonSchemaValidator
-
Validates and throws if invalid.
- validateOrThrow(JsonNode, JsonNode) - Static method in class cloud.opencode.base.json.OpenJson
-
Validates and throws if invalid.
- validateOrThrow(JsonNode, JsonNode) - Static method in class cloud.opencode.base.json.schema.JsonSchemaValidator
-
Validates data and throws if invalid.
- validateSize(JsonNode, int) - Static method in class cloud.opencode.base.json.security.JsonSecurity
-
Validates JSON size (total entries).
- ValidationError(String, String, String) - Constructor for record class cloud.opencode.base.json.exception.JsonSchemaException.ValidationError
-
Creates a validation error with path, keyword, and message.
- ValidationError(String, String, String, Object, Object) - Constructor for record class cloud.opencode.base.json.exception.JsonSchemaException.ValidationError
-
Creates an instance of a
ValidationErrorrecord class. - ValidationResult(boolean, List) - Constructor for record class cloud.opencode.base.json.schema.JsonSchemaValidator.ValidationResult
-
Creates an instance of a
ValidationResultrecord class. - value() - Element in annotation interface cloud.opencode.base.json.annotation.JsonAlias
-
The alternative names accepted during deserialization.
- value() - Element in annotation interface cloud.opencode.base.json.annotation.JsonBackReference
-
The logical name of the reference, must match the corresponding
JsonManagedReference. - value() - Element in annotation interface cloud.opencode.base.json.annotation.JsonFilter
-
The filter identifier.
- value() - Element in annotation interface cloud.opencode.base.json.annotation.JsonInclude
-
Inclusion strategy for the property value during serialization.
- value() - Element in annotation interface cloud.opencode.base.json.annotation.JsonInject
-
The injection identifier used to look up the value.
- value() - Element in annotation interface cloud.opencode.base.json.annotation.JsonManagedReference
-
The logical name of the reference, used to match with
JsonBackReference. - value() - Element in annotation interface cloud.opencode.base.json.annotation.JsonNaming
-
The naming strategy to use.
- value() - Element in annotation interface cloud.opencode.base.json.annotation.JsonProperty
-
The JSON property name.
- value() - Element in annotation interface cloud.opencode.base.json.annotation.JsonPropertyOrder
-
Ordered list of property names that define serialization order.
- value() - Element in annotation interface cloud.opencode.base.json.annotation.JsonRawValue
-
Whether the raw value behavior is enabled.
- value() - Element in annotation interface cloud.opencode.base.json.annotation.JsonRootName
-
The root wrapping name.
- value() - Element in annotation interface cloud.opencode.base.json.annotation.JsonSubTypes.Type
-
The subtype class.
- value() - Element in annotation interface cloud.opencode.base.json.annotation.JsonSubTypes
-
The known subtypes.
- value() - Element in annotation interface cloud.opencode.base.json.annotation.JsonTypeName
-
The logical type name for this class.
- value() - Element in annotation interface cloud.opencode.base.json.annotation.JsonValue
-
Whether this annotation is active.
- value() - Element in annotation interface cloud.opencode.base.json.annotation.JsonView
-
The view classes that this property belongs to.
- value() - Method in record class cloud.opencode.base.json.JsonNode.BooleanNode
-
Returns the value of the
valuerecord component. - value() - Method in record class cloud.opencode.base.json.JsonNode.NumberNode
-
Returns the value of the
valuerecord component. - value() - Method in record class cloud.opencode.base.json.JsonNode.StringNode
-
Returns the value of the
valuerecord component. - value() - Method in record class cloud.opencode.base.json.patch.JsonPatch.PatchOperation
-
Returns the value of the
valuerecord component. - value(boolean) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Writes a boolean value.
- value(double) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Writes a double value.
- value(float) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Writes a float value.
- value(int) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Writes an int value.
- value(long) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Writes a long value.
- value(Number) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Writes a Number value.
- value(String) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Writes a string value.
- value(BigDecimal) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Writes a BigDecimal value.
- value(BigInteger) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Writes a BigInteger value.
- valueOf(String) - Static method in enum class cloud.opencode.base.json.annotation.JsonAutoDetect.Visibility
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.json.annotation.JsonCreator.Mode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.json.annotation.JsonFormat.Shape
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.json.annotation.JsonInclude.Include
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.json.annotation.JsonMask.MaskType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.json.annotation.JsonNaming.Strategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.json.annotation.JsonProperty.Access
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.json.annotation.JsonTypeInfo.As
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.json.annotation.JsonTypeInfo.Id
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.json.diff.JsonDiff.DiffType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.json.exception.OpenJsonProcessingException.ErrorType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.json.patch.JsonPatch.Operation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.json.spi.JsonFeature.Category
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.json.spi.JsonFeature
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.json.stream.JsonToken
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class cloud.opencode.base.json.annotation.JsonAutoDetect.Visibility
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.json.annotation.JsonCreator.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.json.annotation.JsonFormat.Shape
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.json.annotation.JsonInclude.Include
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.json.annotation.JsonMask.MaskType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.json.annotation.JsonNaming.Strategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.json.annotation.JsonProperty.Access
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.json.annotation.JsonTypeInfo.As
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.json.annotation.JsonTypeInfo.Id
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.json.diff.JsonDiff.DiffType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.json.exception.OpenJsonProcessingException.ErrorType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.json.patch.JsonPatch.Operation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.json.spi.JsonFeature.Category
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.json.spi.JsonFeature
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.json.stream.JsonToken
-
Returns an array containing the constants of this enum class, in the order they are declared.
- valueToTree(Object) - Method in class cloud.opencode.base.json.OpenJson
-
Converts object to tree.
- valueToTree(Object) - Method in interface cloud.opencode.base.json.spi.JsonProvider
-
Converts an object to a JsonNode tree.
- version() - Method in record class cloud.opencode.base.json.spi.JsonProviderFactory.ProviderInfo
-
Returns the value of the
versionrecord component. - visible() - Element in annotation interface cloud.opencode.base.json.annotation.JsonTypeInfo
-
Whether the type identifier property should remain visible to the deserializer after type resolution.
W
- withConfig(JsonConfig) - Static method in class cloud.opencode.base.json.OpenJson
-
Creates a new OpenJson instance with the specified configuration.
- withConfigAndProvider(JsonConfig, String) - Static method in class cloud.opencode.base.json.OpenJson
-
Creates a new OpenJson instance with configuration and provider.
- withProvider(String) - Static method in class cloud.opencode.base.json.OpenJson
-
Creates a new OpenJson instance with the specified provider.
- WRAP_ROOT_VALUE - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Wrap output with root element name.
- WRAPPER_ARRAY - Enum constant in enum class cloud.opencode.base.json.annotation.JsonTypeInfo.As
-
Type info wraps the object in a two-element JSON array.
- WRAPPER_OBJECT - Enum constant in enum class cloud.opencode.base.json.annotation.JsonTypeInfo.As
-
Type info wraps the object in a single-entry JSON object.
- write(JsonWriter, T) - Method in interface cloud.opencode.base.json.adapter.JsonTypeAdapter
-
Writes the value directly to a JsonWriter (optional).
- write(Flow.Publisher) - Method in interface cloud.opencode.base.json.reactive.ReactiveJsonWriter
-
Writes objects from a publisher as JSON.
- WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Write date timestamps with nanosecond precision.
- WRITE_DATES_AS_ISO8601 - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Write dates as ISO-8601 strings instead of timestamps.
- WRITE_EMPTY_ARRAYS_FOR_NULL - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Write empty arrays for null array values.
- WRITE_ENUMS_USING_INDEX - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Write enums as ordinal index instead of name.
- WRITE_ENUMS_USING_NAME - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Write enums using their name() instead of toString().
- WRITE_NULL_MAP_VALUES - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Write null values for map entries.
- WRITE_ONLY - Enum constant in enum class cloud.opencode.base.json.annotation.JsonProperty.Access
-
Property is only deserialized (write-only).
- writeAsArray(Flow.Publisher) - Method in interface cloud.opencode.base.json.reactive.ReactiveJsonWriter
-
Writes objects from a publisher as a JSON array.
- writeObject(T) - Method in interface cloud.opencode.base.json.reactive.ReactiveJsonWriter
-
Writes a single object as JSON.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form