HomeSort by relevance Sort by last modified time
    Searched full:stringer (Results 1 - 6 of 6) sorted by null

  /libcore/json/src/test/java/org/json/
JSONStringerTest.java 32 JSONStringer stringer = new JSONStringer(); local
33 stringer.array();
34 stringer.value(JSONObject.NULL);
35 stringer.endArray();
36 assertEquals("[null]", stringer.toString());
40 JSONStringer stringer = new JSONStringer(); local
41 stringer.object();
42 stringer.endObject();
43 assertEquals("{}", stringer.toString());
47 JSONStringer stringer = new JSONStringer() local
54 JSONStringer stringer = new JSONStringer(); local
66 JSONStringer stringer = new JSONStringer(); local
76 JSONStringer stringer = new JSONStringer(); local
96 JSONStringer stringer = new JSONStringer(); local
121 JSONStringer stringer = new JSONStringer(); local
181 JSONStringer stringer = new JSONStringer(); local
191 JSONStringer stringer = new JSONStringer(); local
233 JSONStringer stringer = new JSONStringer(); local
243 JSONStringer stringer = new JSONStringer(); local
251 JSONStringer stringer = new JSONStringer(); local
267 JSONStringer stringer = new JSONStringer(); local
288 JSONStringer stringer = new JSONStringer(); local
315 JSONStringer stringer = new JSONStringer(); local
329 JSONStringer stringer = new JSONStringer(); local
344 JSONStringer stringer = new JSONStringer(); local
    [all...]
  /libcore/json/src/main/java/org/json/
JSONStringer.java 34 * <li>The stringer must have exactly one top-level array or object.
54 * <p>Each stringer may be used to encode a single top level value. Instances of
67 * Lexical scoping elements within this stringer, necessary to insert the
136 * @return this stringer.
145 * @return this stringer.
155 * @return this stringer.
164 * @return this stringer.
225 * @return this stringer.
259 * Encodes {@code value} to this stringer.
261 * @return this stringer
    [all...]
JSONArray.java 566 JSONStringer stringer = new JSONStringer(); local
567 stringer.open(JSONStringer.Scope.NULL, "");
570 stringer.out.append(separator);
572 stringer.value(values.get(i));
574 stringer.close(JSONStringer.Scope.NULL, JSONStringer.Scope.NULL, "");
575 return stringer.out.toString();
584 JSONStringer stringer = new JSONStringer(); local
585 writeTo(stringer);
586 return stringer.toString();
605 JSONStringer stringer = new JSONStringer(indentSpaces) local
    [all...]
JSONObject.java 688 JSONStringer stringer = new JSONStringer(); local
689 writeTo(stringer);
690 return stringer.toString();
712 JSONStringer stringer = new JSONStringer(indentSpaces); local
713 writeTo(stringer);
714 return stringer.toString();
717 void writeTo(JSONStringer stringer) throws JSONException {
718 stringer.object();
720 stringer.key(entry.getKey()).value(entry.getValue());
722 stringer.endObject()
764 JSONStringer stringer = new JSONStringer(); local
    [all...]
  /external/llvm/bindings/go/llvm/
string_test.go 1 //===- string_test.go - test Stringer implementation for Type -------------===//
10 // This file tests the Stringer interface for the Type type.
string.go 1 //===- string.go - Stringer implementation for Type -----------------------===//
10 // This file implements the Stringer interface for the Type type.

Completed in 1994 milliseconds