Skip to content

Missing methods #1755

@priand

Description

@priand

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 :-)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions