Home | History | Annotate | Download | only in json

Lines Matching full:jsonarray

29  * JSONArray, and to covert a JSONArray into comma delimited text. Comma
40 * A comma delimited list can be converted into a JSONArray of JSONObjects.
76 * Produce a JSONArray of strings from a row of comma delimited values.
78 * @return A JSONArray of strings.
81 public static JSONArray rowToJSONArray(JSONTokener x) throws JSONException {
82 JSONArray ja = new JSONArray();
107 * parallel JSONArray of strings to provides the names of the elements.
108 * @param names A JSONArray of names. This is commonly obtained from the
115 public static JSONObject rowToJSONObject(JSONArray names, JSONTokener x)
117 JSONArray ja = rowToJSONArray(x);
122 * Produce a JSONArray of JSONObjects from a comma delimited text string,
125 * @return A JSONArray of JSONObjects.
128 public static JSONArray toJSONArray(String string) throws JSONException {
133 * Produce a JSONArray of JSONObjects from a comma delimited text string,
136 * @return A JSONArray of JSONObjects.
139 public static JSONArray toJSONArray(JSONTokener x) throws JSONException {
144 * Produce a JSONArray of JSONObjects from a comma delimited text string
145 * using a supplied JSONArray as the source of element names.
146 * @param names A JSONArray of strings.
148 * @return A JSONArray of JSONObjects.
151 public static JSONArray toJSONArray(JSONArray names, String string)
157 * Produce a JSONArray of JSONObjects from a comma delimited text string
158 * using a supplied JSONArray as the source of element names.
159 * @param names A JSONArray of strings.
161 * @return A JSONArray of JSONObjects.
164 public static JSONArray toJSONArray(JSONArray names, JSONTokener x)
169 JSONArray ja = new JSONArray();
185 * Produce a comma delimited text row from a JSONArray. Values containing
187 * @param ja A JSONArray of strings.
190 public static String rowToString(JSONArray ja) {
220 * Produce a comma delimited text from a JSONArray of JSONObjects. The
223 * @param ja A JSONArray of JSONObjects.
227 public static String toString(JSONArray ja) throws JSONException {
230 JSONArray names = jo.names();
239 * Produce a comma delimited text from a JSONArray of JSONObjects using
242 * @param names A JSONArray of strings.
243 * @param ja A JSONArray of JSONObjects.
247 public static String toString(JSONArray names, JSONArray ja)