Skip to content

JsonArray.of & JsonObject.of #2923

@MukjepScarlet

Description

@MukjepScarlet

Problem solved by the feature

No actual problem.

Feature description

JsonArray.of(...Object/JsonElement)

JsonObject.of(String, JsonElement, String, JsonElement...)
JsonObject.of(String, Object,....)
JsonObject.of(Object...)

Alternatives / workarounds

Java 9. List.of, Map.of
Guava. ImmutableList.of ImmutableMap.of

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