-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
3.xIssues to be only tackled for Jackson 3.x, not 2.xIssues to be only tackled for Jackson 3.x, not 2.xmost-wantedTag to indicate that there is heavy user +1'ing actionTag to indicate that there is heavy user +1'ing action
Milestone
Description
Currently i have this serializer code:
if(value.hasStyling()) {
JsonNode jsonNode = JacksonComponentSerializer.MAPPER.valueToTree(value.style());
if (jsonNode.isObject()) {
Iterator<Map.Entry<String, JsonNode>> fields = jsonNode.fields();
while (fields.hasNext()) {
Map.Entry<String, JsonNode> next = fields.next();
gen.writeFieldName(next.getKey());
gen.writeTree(next.getValue());
}
}
}
Can we have some way to convert object to TreeNode without static access to mapper?
Metadata
Metadata
Assignees
Labels
3.xIssues to be only tackled for Jackson 3.x, not 2.xIssues to be only tackled for Jackson 3.x, not 2.xmost-wantedTag to indicate that there is heavy user +1'ing actionTag to indicate that there is heavy user +1'ing action