We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JsonNode
@JsonAnySetter
Is your feature request related to a problem? Please describe. When working with unmapped nodes I want to work with JsonNode instead of Map.
Describe the solution you'd like I want JsonAnySetter to support a field of the type JsonNode or maybe ObjectNode.
Usage example class Test { @JsonAnySetter JsonNode extraData; } mapper.readValue("{"test": 3}", Test.class).extraData.path("test").intValue() == 3
Additional context I'm a big fan of JsonNode.
The text was updated successfully, but these errors were encountered:
Start wrok on #3394, allow @JsonAnySetter on JsonNode valued field
229ddd0
Implement #3394: allow JsonNode valued fields for @JsonAnySetter
7d8ee09
Implement #3394: allow JsonNode valued Fields for @JsonAnySetter (#…
9a23f81
…3563)
Will be in 2.14.0.
Sorry, something went wrong.
ObjectNode
@JsonAnyGetter
@JsonUnwrapped
No branches or pull requests
Is your feature request related to a problem? Please describe.
When working with unmapped nodes I want to work with JsonNode instead of Map.
Describe the solution you'd like
I want JsonAnySetter to support a field of the type JsonNode or maybe ObjectNode.
Usage example
class Test {
@JsonAnySetter
JsonNode extraData;
}
mapper.readValue("{"test": 3}", Test.class).extraData.path("test").intValue() == 3
Additional context
I'm a big fan of JsonNode.
The text was updated successfully, but these errors were encountered: