/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/ |
JsonRpcResult.java | 19 import org.json.JSONException; 20 import org.json.JSONObject; 23 * Represents a JSON RPC result. 25 * @see http://json-rpc.org/wiki/specification 35 JSONObject json = new JSONObject(); local 36 json.put("id", id); 37 json.put("result", JSONObject.NULL); 38 json.put("error", JSONObject.NULL); 39 return json; 43 JSONObject json = new JSONObject() local 51 JSONObject json = new JSONObject(); local [all...] |
JsonDeserializable.java | 19 import org.json.JSONException; 20 import org.json.JSONObject;
|
JsonSerializable.java | 19 import org.json.JSONException; 20 import org.json.JSONObject;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_json.py | 1 """Tests for json.
3 The tests for json are defined in the json.tests package;
8 import json.tests
13 test.test_support.run_unittest(json.tests.test_suite())
|
/external/python/cpython2/Lib/test/ |
test_json.py | 1 """Tests for json. 3 The tests for json are defined in the json.tests package; 8 import json.tests 13 test.test_support.run_unittest(json.tests.test_suite())
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_json.py | 1 """Tests for json. 3 The tests for json are defined in the json.tests package; 8 import json.tests 13 test.test_support.run_unittest(json.tests.test_suite())
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_json.py | 1 """Tests for json. 3 The tests for json are defined in the json.tests package; 8 import json.tests 13 test.test_support.run_unittest(json.tests.test_suite())
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_json.py | 1 """Tests for json. 3 The tests for json are defined in the json.tests package; 8 import json.tests 13 test.test_support.run_unittest(json.tests.test_suite())
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_json.py | 1 """Tests for json. 3 The tests for json are defined in the json.tests package; 8 import json.tests 13 test.test_support.run_unittest(json.tests.test_suite())
|
/prebuilts/misc/common/json/ |
json-prebuilt.jar | |
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
JSONString.java | 1 package com.google.polo.json; 12 * The <code>toJSONString</code> method allows a class to produce its own JSON 15 * @return A strictly syntactically correct JSON text.
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/ |
test_speedups.py | 1 from json.tests import CTest
6 self.assertEqual(self.json.decoder.scanstring.__module__, "_json")
7 self.assertIs(self.json.decoder.scanstring, self.json.decoder.c_scanstring)
10 self.assertEqual(self.json.encoder.encode_basestring_ascii.__module__,
12 self.assertIs(self.json.encoder.encode_basestring_ascii,
13 self.json.encoder.c_encode_basestring_ascii)
17 self.assertRaises(AttributeError, self.json.scanner.c_make_scanner, 1)
20 self.assertRaises(TypeError, self.json.encoder.c_make_encoder,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/ |
test_speedups.py | 1 from json.tests import CTest
6 self.assertEqual(self.json.decoder.scanstring.__module__, "_json")
7 self.assertIs(self.json.decoder.scanstring, self.json.decoder.c_scanstring)
10 self.assertEqual(self.json.encoder.encode_basestring_ascii.__module__,
12 self.assertIs(self.json.encoder.encode_basestring_ascii,
13 self.json.encoder.c_encode_basestring_ascii)
17 self.assertRaises(AttributeError, self.json.scanner.c_make_scanner, 1)
20 self.assertRaises(TypeError, self.json.encoder.c_make_encoder,
|
/external/python/cpython2/Lib/json/tests/ |
test_speedups.py | 1 from json.tests import CTest 6 self.assertEqual(self.json.decoder.scanstring.__module__, "_json") 7 self.assertIs(self.json.decoder.scanstring, self.json.decoder.c_scanstring) 10 self.assertEqual(self.json.encoder.encode_basestring_ascii.__module__, 12 self.assertIs(self.json.encoder.encode_basestring_ascii, 13 self.json.encoder.c_encode_basestring_ascii) 17 self.assertRaises(AttributeError, self.json.scanner.c_make_scanner, 1) 20 self.assertRaises(TypeError, self.json.encoder.c_make_encoder,
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/ |
test_speedups.py | 1 from json.tests import CTest 6 self.assertEqual(self.json.decoder.scanstring.__module__, "_json") 7 self.assertIs(self.json.decoder.scanstring, self.json.decoder.c_scanstring) 10 self.assertEqual(self.json.encoder.encode_basestring_ascii.__module__, 12 self.assertIs(self.json.encoder.encode_basestring_ascii, 13 self.json.encoder.c_encode_basestring_ascii) 17 self.assertRaises(AttributeError, self.json.scanner.c_make_scanner, 1) 20 self.assertRaises(TypeError, self.json.encoder.c_make_encoder,
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/ |
test_speedups.py | 1 from json.tests import CTest 6 self.assertEqual(self.json.decoder.scanstring.__module__, "_json") 7 self.assertIs(self.json.decoder.scanstring, self.json.decoder.c_scanstring) 10 self.assertEqual(self.json.encoder.encode_basestring_ascii.__module__, 12 self.assertIs(self.json.encoder.encode_basestring_ascii, 13 self.json.encoder.c_encode_basestring_ascii) 17 self.assertRaises(AttributeError, self.json.scanner.c_make_scanner, 1) 20 self.assertRaises(TypeError, self.json.encoder.c_make_encoder,
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
jsoncheckertest.cpp | 44 char* json = (char*)malloc(length + 1);
local 45 size_t readLength = fread(json, 1, length, fp);
46 json[readLength] = '\0';
48 return json;
54 // jsonchecker/failXX.json
56 if (i == 1) // fail1.json is valid in rapidjson, which has no limitation on type of root element (RFC 7159).
58 if (i == 18) // fail18.json is valid in rapidjson, which has no limitation on depth of nesting.
61 sprintf(filename, "fail%d.json", i);
63 char* json = ReadFile(filename, length);
local 64 if (!json) {
84 char* json = ReadFile(filename, length); local [all...] |
/external/robolectric/v1/lib/main/ |
json-20080701.jar | |
/external/robolectric/v3/runtime/ |
json-20080701.jar | |
/prebuilts/tools/common/m2/repository/org/json/json/20080701/ |
json-20080701.jar | |
/external/python/cpython3/Lib/test/test_json/ |
test_speedups.py | 6 self.assertEqual(self.json.decoder.scanstring.__module__, "_json") 7 self.assertIs(self.json.decoder.scanstring, self.json.decoder.c_scanstring) 10 self.assertEqual(self.json.encoder.encode_basestring_ascii.__module__, 12 self.assertIs(self.json.encoder.encode_basestring_ascii, 13 self.json.encoder.c_encode_basestring_ascii) 18 self.assertRaises(AttributeError, self.json.scanner.c_make_scanner, 1) 21 self.assertRaises(TypeError, self.json.encoder.c_make_encoder,
|
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
BackupSharedPreference.java | 19 import org.json.JSONException; 20 import org.json.JSONObject;
|
/test/vti/test_serving/gae/script/ |
deploy-endpoint.sh | 30 gcloud endpoints services deploy build_infov1openapi.json 31 gcloud endpoints services deploy host_infov1openapi.json 32 gcloud endpoints services deploy lab_infov1openapi.json 33 gcloud endpoints services deploy schedule_infov1openapi.json
|
/tools/tradefederation/core/src/com/android/tradefed/util/hostmetric/ |
HostMetric.java | 18 import org.json.JSONException; 19 import org.json.JSONObject; 47 * Returns a JSON object for the metric sample. 49 * @return a JSON object. 53 final JSONObject json = new JSONObject(); local 54 json.put("name", mName); 55 json.put("timestamp", mTimestamp); 56 json.put("value", mValue); 57 json.put("fields", new JSONObject(mData)); 58 return json; [all...] |
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/ |
CloseOp.java | 18 import org.json.JSONException; 19 import org.json.JSONObject; 31 * Factory method for creating a {@link CloseOp} from JSON data. 33 * @param json the data as a {@link JSONObject} 37 static CloseOp createFromJson(JSONObject json) throws JSONException {
|