Package | Description |
---|---|
co.aikar.util |
Modifier and Type | Method and Description |
---|---|
static @NotNull JSONUtil.JSONPair |
JSONUtil.pair(long key,
@Nullable Object obj) |
static @NotNull JSONUtil.JSONPair |
JSONUtil.pair(@NotNull String key,
@Nullable Object obj)
Creates a key/value "JSONPair" object
|
Modifier and Type | Method and Description |
---|---|
static @NotNull Map<String,Object> |
JSONUtil.appendObjectData(@NotNull Map parent,
JSONUtil.JSONPair... data)
This appends multiple key/value Obj pairs into a JSON Object
|
static @NotNull Map<String,Object> |
JSONUtil.createObject(JSONUtil.JSONPair... data)
Creates a new JSON object from multiple JSONPair key/value pairs
|
Copyright © 2021. All rights reserved.