Uses of Class
com.alibaba.fastjson2.JSONArray
Packages that use JSONArray
-
Uses of JSONArray in com.alibaba.fastjson2
Methods in com.alibaba.fastjson2 that return JSONArrayModifier and TypeMethodDescriptionJSONArray.addArray()Chained addition of elementsJSONArray.fluentAddAll(Collection<?> c) JSONArray.fluentClear()JSONArray.fluentRemove(int index) JSONArray.fluentRemove(Object o) JSONArray.fluentRemoveAll(Collection<?> c) JSONArray.getJSONArray(int index) JSONObject.getJSONArray(String key) Returns theJSONArrayof the associated keys in thisJSONObject.static JSONArrayPack an element asJSONArraystatic JSONArrayPack multiple elements asJSONArraystatic JSONArrayPack two elements asJSONArraystatic JSONArrayPack three elements asJSONArraystatic JSONArrayJSONArray.parse(String text, JSONReader.Feature... features) static JSONArrayJSON.parseArray(byte[] bytes) static JSONArrayJSON.parseArray(byte[] bytes, int offset, int length, Charset charset) static JSONArrayJSON.parseArray(char[] chars) static JSONArrayJSON.parseArray(InputStream in, JSONReader.Feature... features) Parse JSONInputStreamintoJSONArraystatic JSONArrayJSON.parseArray(String text) static JSONArrayJSON.parseArray(String text, JSONReader.Feature... features) static JSONArrayJSON.parseArray(URL url, JSONReader.Feature... features) Parse JSONInputStreamintoJSONArraystatic JSONArrayJSONArray.parseArray(String text, JSONReader.Feature... features) static JSONArrayJSONB.parseArray(byte[] jsonbBytes) Methods in com.alibaba.fastjson2 with parameters of type JSONArray
TypeReference.to(JSONArray)