Uses of Class
co.aikar.util.JSONUtil.JSONPair
-
Uses of JSONUtil.JSONPair in co.aikar.util
Modifier and TypeMethodDescriptionstatic @NotNull JSONUtil.JSONPair
static @NotNull JSONUtil.JSONPair
Creates a key/value "JSONPair" objectModifier and TypeMethodDescriptionJSONUtil.appendObjectData
(@NotNull Map parent, @NotNull JSONUtil.JSONPair... data) This appends multiple key/value Obj pairs into a JSON ObjectJSONUtil.createObject
(@NotNull JSONUtil.JSONPair... data) Creates a new JSON object from multiple JSONPair key/value pairsModifier and TypeMethodDescriptionJSONUtil.toObjectMapper
(@NotNull E[] collection, @NotNull Function<E, JSONUtil.JSONPair> mapper) These help build a single JSON Object from a collection, using a mapper functionJSONUtil.toObjectMapper
(@NotNull Iterable<E> collection, @NotNull Function<E, JSONUtil.JSONPair> mapper)