-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Closed as not planned
Labels
Description
Would be great if you can add a few missing methods:
JsonObject/JsonArray: clear() -> empty the container, similar to Collection.clear()
JsonArray: addAt() -> insert an element at a defined index, similar to List addAt()
Would also help to have a JsonPrimitive get() that doesn't do any check, but just returns the raw value (Boolean, Number or String)
These are easy, non breaking add-ons that can simplify some code :-)