Skip to content

Commit 91fbfa2

Browse files
authored
doc: Add note about JsonNode.elements() -> values() rename (#4873)
1 parent 9e63036 commit 91fbfa2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/com/fasterxml/jackson/databind/JsonNode.java

+2
Original file line numberDiff line numberDiff line change
@@ -1071,6 +1071,8 @@ public boolean hasNonNull(int index) {
10711071
* this node is a JSON Array or Object node. In case of Object node,
10721072
* field names (keys) are not included, only values.
10731073
* For other types of nodes, returns empty iterator.
1074+
* <p>
1075+
* Note: In Jackson 3, this method will be renamed to {@code values()}.
10741076
*/
10751077
public Iterator<JsonNode> elements() {
10761078
return ClassUtil.emptyIterator();

0 commit comments

Comments
 (0)