Package io.kjson
Object JSONArray.Companion
-
- All Implemented Interfaces:
public class JSONArray.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final JSONArrayEMPTYpublic final static JSONArray.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final JSONArrayof(JSONValue items)Create a JSONArray from a vararglist of JSONValue items.final JSONArrayfrom(List<JSONValue> list)Create a JSONArray from a List of JSONValue items. final JSONArraybuild(Function1<JSONArray.Builder, Unit> block)Create a JSONArray by applying the supplied block to a Builder, and then taking the result. final JSONArraygetEMPTY()An empty JSONArray.
-