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
- 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.
- 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.
- 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).
- 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
- 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.
- 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. - 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() - 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.
- CHANGED - Enum constant in enum class cloud.opencode.base.json.diff.JsonDiff.DiffType
-
Value was changed - 值被更改
- clear() - Static method in class cloud.opencode.base.json.adapter.JsonAdapterRegistry
-
Clears all custom adapters (keeps built-in).
- 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.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
- 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.
- 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(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.
- CUSTOM - Enum constant in enum class cloud.opencode.base.json.annotation.JsonMask.MaskType
-
Custom masking with regex pattern.
D
- dateFormat(String) - Method in class cloud.opencode.base.json.JsonConfig.Builder
-
Sets the date format pattern.
- DEFAULT - Static variable in class cloud.opencode.base.json.JsonConfig
-
Default 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 默认最大字符串长度
- 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.
- 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[], 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
-
Compares two JSON documents.
- 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.
- 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.JsonMask
-
Whether masking is enabled (can be controlled at runtime).
- 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(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 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
- errors() - Method in record class cloud.opencode.base.json.schema.JsonSchemaValidator.ValidationResult
-
Returns the value of the
errorsrecord component. - 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.
- 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.
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
- findDangerousKeys(JsonNode) - Static method in class cloud.opencode.base.json.security.JsonSecurity
-
Checks for dangerous property keys.
- 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[], 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
- 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.
- 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.
- 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.
- 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.
- 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
- 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).
- 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.
- 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.
- 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.
- 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.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 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
- hasLocation() - Method in exception class cloud.opencode.base.json.exception.OpenJsonProcessingException
-
Returns whether location information is available.
- 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_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).
- IGNORE_UNKNOWN_PROPERTIES - Enum constant in enum class cloud.opencode.base.json.spi.JsonFeature
-
Ignore unknown properties during deserialization.
- 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.
- 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.
- 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.
- 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
- 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.
- 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.
- 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 差异类型
- 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 特性类别枚举
- 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 值的形状
- JsonIgnore - Annotation Interface in cloud.opencode.base.json.annotation
-
JSON Ignore - Excludes Field from JSON Processing JSON 忽略 - 从 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.
- 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 属性的访问类型
- 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.
- JsonReader - Interface in cloud.opencode.base.json.stream
-
JSON Reader - Streaming JSON Parser Interface JSON 读取器 - 流式 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
- JsonToken - Enum Class in cloud.opencode.base.json.stream
-
JSON Token - Token Types for Streaming JSON Parser JSON 令牌 - 流式 JSON 解析器的令牌类型
- JsonTypeAdapter<T> - Interface in cloud.opencode.base.json.adapter
-
JSON Type Adapter - Custom Serialization/Deserialization JSON 类型适配器 - 自定义序列化/反序列化
- jsonValue(String) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Writes a raw JSON value (without escaping).
- 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.
- 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
- 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.
- maxDepth() - Method in record class cloud.opencode.base.json.security.JsonSecurity.SecurityOptions
-
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
- 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(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. - missingRequired(String, String) - Static method in exception class cloud.opencode.base.json.exception.JsonSchemaException
-
Creates an exception for a required property error.
- 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() - 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.stream.JsonToken
-
A JSON property name.
- namingStrategy(JsonNaming.Strategy) - Method in class cloud.opencode.base.json.JsonConfig.Builder
-
Sets the naming strategy.
- 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.
- 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.
- 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.
- 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.
- priority() - Method in record class cloud.opencode.base.json.spi.JsonProviderFactory.ProviderInfo
-
Returns the value of the
priorityrecord component. - 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.
- propertyNull(String) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Writes a name/null pair.
- ProviderInfo(String, String, int, boolean) - Constructor for record class cloud.opencode.base.json.spi.JsonProviderFactory.ProviderInfo
-
Creates an instance of a
ProviderInforecord class. - 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_ONLY - Enum constant in enum class cloud.opencode.base.json.annotation.JsonProperty.Access
-
Property is only serialized (read-only).
- 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
- 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 - 值被移除
- 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.
- 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.
- 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.
- 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.
- setSerializeNulls(boolean) - Method in interface cloud.opencode.base.json.stream.JsonWriter
-
Sets whether to serialize nulls.
- shape() - Element in annotation interface cloud.opencode.base.json.annotation.JsonFormat
-
The shape of the serialized value.
- 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.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.
- StringNode(String) - Constructor for record class cloud.opencode.base.json.JsonNode.StringNode
-
Creates an instance of a
StringNoderecord class. - success() - Static method in record class cloud.opencode.base.json.schema.JsonSchemaValidator.ValidationResult
- suffixLength() - Element in annotation interface cloud.opencode.base.json.annotation.JsonMask
-
Number of visible characters at the end.
- 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 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 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 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
- 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.
- 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_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
- 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.
- 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.
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.JsonNaming
-
The naming strategy to use.
- value() - Element in annotation interface cloud.opencode.base.json.annotation.JsonProperty
-
The JSON property name.
- 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.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.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.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.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.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.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.
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.
- 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_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_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