MCPcopy Create free account
hub / github.com/Teneted/Tenet / createObject

Method createObject

src/main/java/co/aikar/util/JSONUtil.java:38–40  ·  view source on GitHub ↗

Creates a new JSON object from multiple JSONPair key/value pairs @param data JSONPairs @return Map

(JSONPair... data)

Source from the content-addressed store, hash-verified

36 * @return Map
37 */
38 public static Map createObject(JSONPair... data) {
39 return appendObjectData(new LinkedHashMap(), data);
40 }
41
42 /**
43 * This appends multiple key/value Obj pairs into a JSON Object

Callers

nothing calls this directly

Calls 1

appendObjectDataMethod · 0.95

Tested by

no test coverage detected