Package cloud.opencode.base.json.annotation
package cloud.opencode.base.json.annotation
JSON Annotation - JSON Processing Annotations
JSON Annotation - JSON 处理注解
This package provides annotations for customizing JSON serialization and deserialization behavior.
本包提供用于自定义 JSON 序列化和反序列化行为的注解。
Key Annotations | 核心注解:
JsonProperty- Property mapping - 属性映射JsonIgnore- Ignore field - 忽略字段JsonFormat- Formatting - 格式化JsonNaming- Naming strategy - 命名策略JsonMask- Data masking - 数据脱敏JsonTypeInfo- Polymorphic type handling - 多态类型处理JsonSubTypes- Known subtypes declaration - 已知子类型声明JsonTypeName- Logical type name - 逻辑类型名
- Since:
- JDK 25, opencode-base-json V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
- See Also:
-
ClassDescriptionJSON Alias - Defines Alternative Deserialization Names JSON 别名 - 定义反序列化时的替代名称JSON Any Getter - Serializes Map Entries as Regular Properties JSON 任意获取器 - 将 Map 条目序列化为普通属性JSON Any Setter - Captures Unmatched JSON Properties JSON 任意设置器 - 捕获未匹配的 JSON 属性JSON Auto-Detect - Controls Property Auto-Detection Visibility JSON 自动检测 - 控制属性自动检测的可见性Visibility level for property auto-detection 属性自动检测的可见性级别JSON Back Reference - Marks the Back Part of a Bidirectional Relationship JSON 反向引用 - 标记双向关系的反向部分JSON Creator - Marks a Constructor or Factory Method for Deserialization JSON 创建器 - 标记用于反序列化的构造函数或工厂方法Creator mode that defines how arguments are bound.JSON Deserialize - Specifies Custom Deserializer JSON 反序列化 - 指定自定义反序列化器JSON Enum Default Value - Marks Default Enum Constant for Unknown Values JSON 枚举默认值 - 标记未知值时的默认枚举常量JSON Filter - Specifies a Named Property Filter JSON 过滤器 - 指定命名的属性过滤器JSON Format - Specifies Serialization Format JSON 格式 - 指定序列化格式Shape of the JSON value JSON 值的形状JSON Identity Info - Handles Object Identity for Circular References JSON 身份信息 - 处理循环引用的对象身份JSON Ignore - Excludes Field from JSON Processing JSON 忽略 - 从 JSON 处理中排除字段JSON Include - Controls Property Inclusion Based on Value JSON 包含 - 基于值控制属性的包含策略Inclusion strategy for property values 属性值的包含策略JSON Inject - Injects Non-JSON Values During Deserialization JSON 注入 - 反序列化时注入非 JSON 值JSON Managed Reference - Marks the Forward Part of a Bidirectional Relationship JSON 管理引用 - 标记双向关系的正向部分JSON Mask - Data Masking for Sensitive Fields JSON 脱敏 - 敏感字段的数据脱敏Mask type enumeration 脱敏类型枚举JSON Naming - Specifies Property Naming Strategy JSON 命名 - 指定属性命名策略Naming strategy enumeration 命名策略枚举JSON Property - Defines JSON Field Mapping JSON 属性 - 定义 JSON 字段映射Access type for property 属性的访问类型JSON Property Order - Controls Property Serialization Order JSON 属性排序 - 控制属性序列化顺序JSON Raw Value - Includes String Value as Raw JSON JSON 原始值 - 将字符串值作为原始 JSON 包含JSON Root Name - Specifies Root Wrapping Name JSON 根名称 - 指定根包装名称JSON Serialize - Specifies Custom Serializer JSON 序列化 - 指定自定义序列化器JSON Sub Types - Known Subtypes for Polymorphic Deserialization JSON 子类型 - 多态反序列化的已知子类型Known Subtype Declaration 已知子类型声明JSON Type Info - Polymorphic Type Handling Configuration JSON 类型信息 - 多态类型处理配置Type information inclusion strategy 类型信息包含策略Type identifier mechanism 类型标识机制JSON Type Name - Logical Type Name for Polymorphic Handling JSON 类型名 - 多态处理的逻辑类型名JSON Unwrapped - Unwraps Nested Object Properties JSON 展开 - 展开嵌套对象属性JSON Value - Marks a Method or Field as the Serialized Representation JSON 值 - 标记方法或字段作为序列化表示JSON View - Selective Property Serialization JSON 视图 - 选择性属性序列化