Feature: ArrayNode#set(int index, type value)

13 views
Skip to first unread message

Tarekk Mohamed Abdalla

unread,
May 15, 2021, 10:55:27 PM5/15/21
to jackson-dev
ArrayNode currently have add and insert function of all types (int, double, etc) but the set function only have JsonNode variant.

My feature request is to add set methods for other types 

 ArrayNode arr = getNewArrayNode();
 arr.add("a");
 arr.insert(0, "b");
 arr.set(1, "c"); // <------- Missing

What do you think about this change?

P.S I have an issue with this feature request on GitHub #3154

Reply all
Reply to author
Forward
0 new messages