File tree 2 files changed +1
-16
lines changed
src/main/java/tools/jackson/databind
2 files changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ Versions: 3.x (for earlier see VERSION-2.x)
86
86
#4840: Increase minimum Android SDK required to 34 for Jackson 3.0
87
87
#4865: Add spliterator support in `JsonNode`
88
88
(contributed by @pjfanning)
89
+ #4875: Remove `JsonNode.fields()` from 3.0
89
90
- Remove `MappingJsonFactory`
90
91
- Add context parameter for `TypeSerializer` contextualization (`forProperty()`)
91
92
- Default for `JsonNodeFeature.STRIP_TRAILING_BIGDECIMAL_ZEROES` changed to `false` for 3.0
Original file line number Diff line number Diff line change @@ -1059,30 +1059,14 @@ public Spliterator<JsonNode> valueSpliterator() {
1059
1059
return values ().spliterator ();
1060
1060
}
1061
1061
1062
- /**
1063
- * NOTE: This method is deprecated, use {@link #properties()} instead.
1064
- *
1065
- * @return Iterator that can be used to traverse all key/value pairs for
1066
- * object nodes; empty iterator (no contents) for other types
1067
- *
1068
- * @deprecated As of 2.19, replaced by {@link #properties()}
1069
- */
1070
- @ Deprecated // since 2.19
1071
- public Iterator <Map .Entry <String , JsonNode >> fields () {
1072
- return properties ().iterator ();
1073
- }
1074
-
1075
1062
/**
1076
1063
* Accessor that will return properties of {@code ObjectNode}
1077
1064
* similar to how {@link Map#entrySet()} works;
1078
1065
* for other node types will return empty {@link java.util.Set}.
1079
- * Replacement for {@link JsonNode#fields()}.
1080
1066
*
1081
1067
* @return Set of properties, if this node is an {@code ObjectNode}
1082
1068
* ({@link JsonNode#isObject()} returns {@code true}); empty
1083
1069
* {@link java.util.Set} otherwise.
1084
- *
1085
- * @since 2.15
1086
1070
*/
1087
1071
public Set <Map .Entry <String , JsonNode >> properties () {
1088
1072
return Collections .emptySet ();
You can’t perform that action at this time.
0 commit comments