OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:JSONObject
(Results
1 - 25
of
25
) sorted by null
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/
decoder.py
149
def
JSONObject
(s_and_end, encoding, strict, scan_once, object_hook,
355
self.parse_object =
JSONObject
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/
decoder.py
149
def
JSONObject
(s_and_end, encoding, strict, scan_once, object_hook,
355
self.parse_object =
JSONObject
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/
JSONWriter.java
55
* This can sometimes be easier than using a
JSONObject
to build a string.
81
private
JSONObject
stack[];
99
this.stack = new
JSONObject
[maxdepth];
211
this.writer.write(
JSONObject
.quote(s));
239
this.push(new
JSONObject
());
270
private void push(
JSONObject
jo) throws JSONException {
315
* String,
JSONObject
, or JSONArray, or an object with a toJSONString()
321
return this.append(
JSONObject
.valueToString(o));
JSONArray.java
41
* <code>Boolean</code>, <code>JSONArray</code>, <code>
JSONObject
</code>,
43
* <code>
JSONObject
.NULL object</code>.
185
this.myArrayList.add(new
JSONObject
((Map)o, includeSuperClass));
186
} else if (!
JSONObject
.isStandardProperty(o.getClass())) {
187
this.myArrayList.add(new
JSONObject
(o, includeSuperClass));
224
if (
JSONObject
.isStandardProperty(o.getClass())) {
227
this.myArrayList.add(new
JSONObject
(o,includeSuperClass));
332
* Get the
JSONObject
associated with an index.
334
* @return A
JSONObject
value.
336
* value is not a
JSONObject
[
all
...]
JSONObject.java
39
* A
JSONObject
is an unordered collection of name/value pairs. Its
45
* <code>Boolean</code>, <code>JSONArray</code>, <code>
JSONObject
</code>,
46
* <code>Number</code>, <code>String</code>, or the <code>
JSONObject
.NULL</code>
47
* object. A
JSONObject
constructor can be used to convert an external form
62
* myString = new
JSONObject
().put("JSON", "Hello, World!").toString();</pre>
89
public class
JSONObject
{
92
*
JSONObject
.NULL is equivalent to the value that JavaScript calls null,
111
* @return true if the object parameter is the
JSONObject
.NULL object
130
* The map where the
JSONObject
's properties are kept.
138
* <code>
JSONObject
.NULL.equals(null)</code> returns <code>true</code>
[
all
...]
/libcore/json/src/main/java/org/json/
JSONArray.java
29
* {@link
JSONObject
JSONObjects}, other {@link JSONArray JSONArrays}, Strings,
30
* Booleans, Integers, Longs, Doubles, {@code null} or {@link
JSONObject
#NULL}.
35
* optional/mandatory accessors as {@link
JSONObject
}. See that class'
40
*
JSONObject
#NULL}. In particular, {@code get} fails if the requested index
41
* holds the null reference, but succeeds if it holds {@code
JSONObject
.NULL}.
73
put(
JSONObject
.wrap(it.next()));
121
put(
JSONObject
.wrap(Array.get(array, i)));
177
* @param value a {@link
JSONObject
}, {@link JSONArray}, String, Boolean,
178
* Integer, Long, Double, {@link
JSONObject
#NULL}, or {@code null}. May
251
* @param value a {@link
JSONObject
}, {@link JSONArray}, String, Boolean
[
all
...]
JSONStringer.java
26
* Implements {@link
JSONObject
#toString} and {@link JSONArray#toString}. Most
29
*
JSONObject
object = ...
47
* output. To encode indented output, use {@link
JSONObject
#toString(int)} or
105
*
JSONObject
.quote() only. Not used for JSON encoding.
222
* @param value a {@link
JSONObject
}, {@link JSONArray}, String, Boolean,
236
} else if (value instanceof
JSONObject
) {
237
((
JSONObject
) value).writeTo(this);
245
|| value ==
JSONObject
.NULL) {
249
out.append(
JSONObject
.numberToString((Number) value));
284
out.append(
JSONObject
.numberToString(value))
[
all
...]
JSONObject.java
30
* Values may be any mix of {@link
JSONObject
JSONObjects}, {@link JSONArray
54
* coerced, the sentinel value {@link
JSONObject
#NULL} is coerced to the
70
*
JSONObject
#NULL}. In particular, calling {@code put(name, null)} removes the
71
* named entry from the object but {@code put(name,
JSONObject
.NULL)} stores an
72
* entry whose value is {@code
JSONObject
.NULL}.
80
public class
JSONObject
{
111
* Creates a {@code
JSONObject
} with no name/value mappings.
113
public
JSONObject
() {
118
* Creates a new {@code
JSONObject
} by copying all name/value mappings from
126
public
JSONObject
(Map copyFrom)
[
all
...]
/prebuilts/misc/common/json/
json-prebuilt.jar
/libcore/json/src/test/java/org/json/
JSONObjectTest.java
40
JSONObject
object = new
JSONObject
();
109
JSONObject
a = new
JSONObject
();
110
JSONObject
b = new
JSONObject
();
118
JSONObject
object = new
JSONObject
();
142
JSONObject
object = new
JSONObject
();
[
all
...]
/external/robolectric/lib/main/
json-20080701.jar
/prebuilts/tools/common/m2/repository/org/json/json/20080701/
json-20080701.jar
/prebuilts/tools/common/m2/repository/net/sf/json-lib/json-lib/2.3/
json-lib-2.3-jdk15.jar
/prebuilts/tools/common/m2/repository/com/cenqua/clover/clover/3.1.12/
clover-3.1.12.jar
/prebuilts/sdk/10/
android.jar
/prebuilts/sdk/12/
android.jar
/prebuilts/sdk/13/
android.jar
/prebuilts/sdk/15/
android.jar
/prebuilts/sdk/16/
android.jar
/prebuilts/sdk/17/
android.jar
/prebuilts/sdk/4/
android.jar
/prebuilts/sdk/7/
android.jar
/prebuilts/sdk/8/
android.jar
/prebuilts/sdk/current/
android.jar
/prebuilts/sdk/system_current/
android.jar
Completed in 305 milliseconds