/external/caliper/caliper/src/main/java/com/google/caliper/json/ |
NaturallySortedMapTypeAdapterFactory.java | 17 package com.google.caliper.json;
|
/external/chromium-trace/catapult/catapult_build/ |
run_dev_server_tests.py | 7 import json 29 BASE_POS_LOOKUP_URL = 'http://omahaproxy.appspot.com/revision.json?version=%s' 117 base_pos = json.load(response)['chromium_base_position'] 127 prefixes = json.load(response).get('prefixes') 194 parser.add_argument('--presentation-json', type=str, 195 help='Recipe presentation-json output file path') 302 json.dump(presentation_info, recipe_out)
|
/external/chromium-trace/catapult/telemetry/telemetry/value/ |
histogram.py | 4 import json 42 raw_value = json.loads(raw_value_json)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/ |
extra_types.py | 10 import json 72 """Convert the given JsonValue to a json string.""" 140 """Any valid JSON value.""" 141 # Is this JSON object `null`? 158 """A JSON object value. 169 """A property of a JSON object. 183 """A JSON array value.""" 210 return json.dumps(_JsonProtoToPythonValue(json_proto)) 214 return _PythonValueToJsonProto(json.loads(json_data)) 218 result = _PythonValueToJsonProto(json.loads(json_data) [all...] |
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/ |
namespace_range.py | 325 """Returns a dict representation that can be serialized to JSON.""" 333 def from_json_object(cls, json): 334 """Returns a NamespaceRange from an object deserialized from JSON.""" 335 return cls(json['namespace_start'], 336 json['namespace_end'], 337 _app=json.get('app'))
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/influencers/ |
DynamicsInfluencer.java | 10 import com.badlogic.gdx.utils.Json; 204 public void write (Json json) { 205 json.writeValue("velocities", velocities, Array.class, DynamicsModifier.class); 209 public void read (Json json, JsonValue jsonData) { 210 velocities.addAll(json.readValue("velocities", Array.class, DynamicsModifier.class, jsonData));
|
/external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
Json.java | 43 /** Reads/writes Java objects to/from JSON, automatically. See the wiki for usage: 44 * https://github.com/libgdx/libgdx/wiki/Reading-%26-writing-JSON 46 public class Json { 64 public Json () { 68 public Json (OutputType outputType) { 72 /** When true, fields in the JSON that are not found on the class will not throw a {@link SerializationException}. Default is 94 /** Sets a tag to use instead of the fully qualifier class name. This can make the JSON easier to read. */ 110 /** Sets the name of the JSON field to store the Java class name or class tag when required to avoid ambiguity during 243 /** Sets the writer where JSON output will be written. This is only necessary when not using the toJson methods. */ 255 /** Writes all fields of the specified object to the current JSON object. * [all...] |
/external/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/trigger/ |
EventGenerationControllingObserver.java | 27 import org.json.JSONArray;
|
/external/v8/build/ |
download_gold_plugin.py | 9 import json
|
/external/v8/test/mjsunit/ |
mirror-null.js | 31 // Create mirror and JSON representation. 34 var json = JSON.stringify(serializer.serializeValue(mirror)); variable 48 // Parse JSON representation and check. 49 var fromJSON = eval('(' + json + ')');
|
mirror-undefined.js | 31 // Create mirror and JSON representation. 34 var json = JSON.stringify(serializer.serializeValue(mirror)); variable 48 // Parse JSON representation and check. 49 var fromJSON = eval('(' + json + ')');
|
/external/v8/tools/release/ |
auto_push.py | 30 import json
|
/libcore/json/src/main/java/org/json/ |
JSON.java | 17 package org.json; 19 class JSON { 21 * Returns the input if it is a JSON-permissible value; throws otherwise.
|
JSONTokener.java | 17 package org.json; 19 // Note: this class was written without inspecting the non-free org.json sourcecode. 22 * Parses a JSON (<a href="http://www.ietf.org/rfc/rfc4627.txt">RFC 4627</a>) 26 * String json = "{" 31 * JSONObject object = (JSONObject) new JSONTokener(json).nextValue(); 35 * <p>For best interoperability and performance use JSON that complies with 38 * input string was valid JSON. All of the following syntax errors will be 55 * <p>Each tokener may be used to parse a single JSON string. Instances of this 64 /** The input JSON. */ 74 * @param in JSON encoded string. Null is not permitted and will yield [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
AttachmentComposeView.java | 31 import org.json.JSONException;
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/ |
SendersFormattingTests.java | 30 import org.json.JSONException; 31 import org.json.JSONObject; 279 final JSONObject json = new JSONObject(map); local 281 return Account.builder().buildFrom(json);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/ |
test_float.py | 2 from json.tests import PyTest, CTest
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/ |
test_float.py | 2 from json.tests import PyTest, CTest
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
VulkanFeaturesTest.java | 25 import org.json.JSONArray; 26 import org.json.JSONException; 27 import org.json.JSONObject;
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/ |
NetworkUtilities.java | 34 import org.json.JSONArray; 35 import org.json.JSONException; 36 import org.json.JSONObject; 169 // Create a special JSONArray of our JSON contacts
|
/external/autotest/client/common_lib/cros/graphite/ |
es_utils.py | 32 the query (json dict) we send to es is quite complicated (but flexible). 66 import json 148 message = json.dumps( 153 message += json.dumps(metadata, separators=(', ', ' : '))
|
/external/autotest/client/site_tests/graphics_dEQP/ |
process_logs.py | 11 import json 105 data = json.loads(text) 136 # Dump json for next iteration. 137 with open(expectation_path + '.json', 'w') as f: 138 json.dump(expectation_dict, 184 expectation_json = expectation_path + '.json'
|
/external/autotest/client/site_tests/network_ChromeCellularEndToEnd/ |
network_ChromeCellularEndToEnd.py | 5 import logging, json 58 properties = json.dumps({'Cellular': {'AutoConnect': value}}) 162 properties = json.dumps({'networkType': network_type,
|
/external/autotest/frontend/client/src/autotest/afe/ |
JobListView.java | 17 import com.google.gwt.json.client.JSONArray; 18 import com.google.gwt.json.client.JSONBoolean; 19 import com.google.gwt.json.client.JSONObject;
|
/external/autotest/frontend/client/src/autotest/tko/ |
ContentSelect.java | 14 import com.google.gwt.json.client.JSONArray; 15 import com.google.gwt.json.client.JSONObject; 16 import com.google.gwt.json.client.JSONString;
|