-
public class JSONObject.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final JSONObjectEMPTYpublic final static JSONObject.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final JSONObjectof(Pair<String, JSONValue> items)final JSONObjectfrom(Map<String, JSONValue> map)final JSONObjectfrom(List<Pair<String, JSONValue>> list)final JSONObjectbuild(Function1<JSONObject.Builder, Unit> block)final JSONObjectgetEMPTY()-
-
Method Detail
-
of
final JSONObject of(Pair<String, JSONValue> items)
-
from
final JSONObject from(Map<String, JSONValue> map)
-
build
final JSONObject build(Function1<JSONObject.Builder, Unit> block)
-
getEMPTY
final JSONObject getEMPTY()
-
-
-
-