Home
last modified time | relevance | path

Searched refs:JsonObject (Results 1 – 16 of 16) sorted by relevance

/external/vogar/src/vogar/monitor/
DTargetMonitor.java20 import com.google.gson.JsonObject;
67 JsonObject jsonObject = new JsonObject();
77 JsonObject jsonObject = new JsonObject();
87 JsonObject jsonObject = new JsonObject();
DHostMonitor.java19 import com.google.gson.JsonObject;
122 } else if (o instanceof JsonObject) { in followProcess()
123 JsonObject jsonObject = (JsonObject) o; in followProcess()
/external/javaparser/javaparser-core-serialization/src/main/java/com/github/javaparser/serialization/
DJavaParserJsonDeserializer.java51 JsonObject jsonObject = reader.readObject(); in deserializeObject()
67 private Node deserializeObject(JsonObject nodeJson) { in deserializeObject()
129 …return nodeListJson.stream().map(nodeJson -> deserializeObject((JsonObject) nodeJson)).collect(toN… in deserializeNodeList()
147 JsonObject jsonObject = (JsonObject)jsonValue; in readRange()
164 JsonObject jsonObject = (JsonObject)jsonValue; in readTokenRange()
177 protected JavaToken readToken(String name, JsonObject jsonObject) { in readToken()
178 JsonObject tokenJson = jsonObject.getJsonObject(name); in readToken()
/external/opencensus-java/exporters/trace/jaeger/src/test/java/io/opencensus/exporter/trace/jaeger/
DJaegerExporterHandlerIntegrationTest.java33 import com.google.gson.JsonObject;
135 JsonObject result = new JsonParser().parse(body).getAsJsonObject(); in exportToJaeger()
147 JsonObject trace = data.get(0).getAsJsonObject(); in exportToJaeger()
155 JsonObject span = spans.get(0).getAsJsonObject(); in exportToJaeger()
173 JsonObject tag = tags.get(0).getAsJsonObject(); in exportToJaeger()
181 JsonObject log1 = logs.get(0).getAsJsonObject(); in exportToJaeger()
187 JsonObject field1 = fields1.get(0).getAsJsonObject(); in exportToJaeger()
192 JsonObject log2 = logs.get(1).getAsJsonObject(); in exportToJaeger()
199 JsonObject field2 = fields2.get(0).getAsJsonObject(); in exportToJaeger()
207 JsonObject processes = trace.get("processes").getAsJsonObject(); in exportToJaeger()
[all …]
/external/python/apitools/apitools/base/py/
Dextra_types.py100 elif field.message_type is JsonObject:
107 util.Typecheck(json_value, JsonObject)
144 return JsonObject(
146 JsonObject.Property(key=key, value=_PythonValueToJsonValue(value))
172 class JsonObject(messages.Message): class
205 JsonObject: _JsonObjectToPythonValue,
237 elif isinstance(result, JsonObject):
253 encoder=JsonProtoEncoder, decoder=JsonProtoDecoder)(JsonObject)
Dextra_types_test.py98 json_d = extra_types.JsonObject(properties=[
99 extra_types.JsonObject.Property(
101 extra_types.JsonObject.Property(
118 obj = extra_types.JsonObject(properties=[
119 extra_types.JsonObject.Property(key='attr_name', value=value)])
/external/robolectric-shadows/processor/src/test/java/org/robolectric/annotation/processing/
DJavadocJsonGeneratorTest.java13 import com.google.gson.JsonObject;
39 assertThat(((JsonObject) json).get("documentation").getAsString()) in shouldGenerateJavadocJson()
43 assertThat(((JsonObject) json).get("imports").getAsJsonArray()) in shouldGenerateJavadocJson()
/external/oss-fuzz/projects/jsoncpp/
Djson_proto_converter.h29 std::string Convert(const json_proto::JsonObject&);
37 void AppendObject(const json_proto::JsonObject&);
Djson.proto26 required JsonObject object_value = 2;
29 message JsonObject { message
42 JsonObject object_value = 1;
Djson_proto_converter.cc54 void JsonProtoConverter::AppendObject(const JsonObject& json_object) { in AppendObject()
76 std::string JsonProtoConverter::Convert(const JsonObject& json_object) { in Convert()
/external/lottie/LottieSample/src/androidTest/java/com/airbnb/lottie/samples/
DSnapshot.kt5 import com.google.gson.JsonObject
17 fun toJson(): JsonElement = JsonObject().apply { in <lambda>()
DHappoSnapshotter.kt16 import com.google.gson.JsonObject in <lambda>()
97 val json = JsonObject() in <lambda>()
/external/python/apitools/samples/servicemanagement_sample/
Dmessages_test.py47 object_value=extra_types.JsonObject(
49 extra_types.JsonObject.Property(
/external/cldr/tools/java/org/unicode/cldr/json/
DLdml2JsonConverter.java47 import com.google.gson.JsonObject;
689 public void writeBasicInfo(JsonObject obj, String packageName, boolean isNPM) { in writeBasicInfo()
709 JsonObject dependencies = new JsonObject(); in writeBasicInfo()
722 JsonObject obj = new JsonObject(); in writePackageJson()
726 JsonObject primaryMaintainer = new JsonObject(); in writePackageJson()
737 JsonObject repository = new JsonObject(); in writePackageJson()
753 JsonObject obj = new JsonObject(); in writeBowerJson()
780 JsonObject obj = new JsonObject(); in writeDefaultContent()
789 JsonObject obj = new JsonObject(); in writeAvailableLocales()
808 JsonObject obj = new JsonObject(); in writeScriptMetadata()
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java42 import com.google.gson.JsonObject;
1399 if (!(json instanceof JsonObject)) { in mergeMessage()
1402 JsonObject object = (JsonObject) json; in mergeMessage()
1437 if (!(json instanceof JsonObject)) { in mergeAny()
1440 JsonObject object = (JsonObject) json; in mergeAny()
1526 } else if (json instanceof JsonObject) { in mergeValue()
1589 if (!(json instanceof JsonObject)) { in mergeMapField()
1598 JsonObject object = (JsonObject) json; in mergeMapField()
/external/python/apitools/samples/bigquery_sample/bigquery_v2/
Dbigquery_v2_messages.py1497 class JsonObject(_messages.Message): class