FasterXML / FasterXML/jackson-annotations

Add support for prefix and suffix on @JsonAnySetter annotation

未关闭
#202 4 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
1.1k
派生
342
平均合并
8 小时 53 分钟
30 天内合并 PR
2

描述

In our POJO we have 2 `Map` fields and both have keys prefixes.
So it will very help if @JsonAnySetter annotation will support some prefixes and suffixes.

```
class Request {

@JsonAnySetter(prefix="loc_")
private Map location;

@JsonAnySetter(prefix="u_")
private Map user;
}
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。