public class JSONArray extends Object
| Constructor and Description |
|---|
JSONArray() |
| Modifier and Type | Method and Description |
|---|---|
static String |
toJSONString(List<?> list)
Convert a list to JSON text.
|
static void |
writeJSONString(List<?> list,
Writer out)
Encode a list into JSON text and write it to out.
|
public static void writeJSONString(List<?> list, Writer out) throws IOException
IOExceptionJSONValue.writeJSONString(Object, Writer)public static String toJSONString(List<?> list)
JSONValue.toJSONString(Object)Copyright © 2013. All Rights Reserved.