Skip to content

Commit

Permalink
doc: Add note about JsonNode.elements() -> values() rename (#4873)
Browse files Browse the repository at this point in the history
  • Loading branch information
JooHyukKim authored Dec 31, 2024
1 parent 9e63036 commit 91fbfa2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/fasterxml/jackson/databind/JsonNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -1071,6 +1071,8 @@ public boolean hasNonNull(int index) {
* this node is a JSON Array or Object node. In case of Object node,
* field names (keys) are not included, only values.
* For other types of nodes, returns empty iterator.
* <p>
* Note: In Jackson 3, this method will be renamed to {@code values()}.
*/
public Iterator<JsonNode> elements() {
return ClassUtil.emptyIterator();
Expand Down

0 comments on commit 91fbfa2

Please sign in to comment.