FasterXML / FasterXML/jackson-annotations

Add support for prefix and suffix on @JsonAnySetter annotation

Open
#202 4 comments 2 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.1k
Forks
342
Avg merge
8h 53m
Merged PRs (30d)
2

Description

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;
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.