Home
last modified time | relevance | path

Searched refs:toJson (Results 1 – 15 of 15) sorted by relevance

/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/
DJsonMessageBuilder.java337 return toJson((PairingRequestMessage) message); in poloMessageToJson()
339 return toJson((PairingRequestAckMessage) message); in poloMessageToJson()
341 return toJson((OptionsMessage) message); in poloMessageToJson()
343 return toJson((ConfigurationMessage) message); in poloMessageToJson()
345 return toJson((ConfigurationAckMessage) message); in poloMessageToJson()
347 return toJson((SecretMessage) message); in poloMessageToJson()
349 return toJson((SecretAckMessage) message); in poloMessageToJson()
421 static JSONObject toJson(PairingRequestMessage message) throws JSONException { in toJson() method in JsonMessageBuilder
434 static JSONObject toJson(PairingRequestAckMessage message) in toJson() method in JsonMessageBuilder
449 static JSONObject toJson(OptionsMessage message) throws JSONException { in toJson() method in JsonMessageBuilder
[all …]
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DJsonTest.java85 equals(json.toJson("meow"), "meow"); in create()
86 equals(json.toJson("meow "), "\"meow \""); in create()
87 equals(json.toJson(" meow"), "\" meow\""); in create()
88 equals(json.toJson(" meow "), "\" meow \""); in create()
89 equals(json.toJson("\nmeow\n"), "\\nmeow\\n"); in create()
90 equals(json.toJson(Array.with(1, 2, 3), null, int.class), "[1,2,3]"); in create()
91 equals(json.toJson(Array.with("1", "2", "3"), null, String.class), "[1,2,3]"); in create()
92 equals(json.toJson(Array.with(" 1", "2 ", " 3 "), null, String.class), "[\" 1\",\"2 \",\" 3 \"]"); in create()
93 equals(json.toJson(Array.with("1", "", "3"), null, String.class), "[1,\"\",3]"); in create()
100 String text = json.toJson(object); in roundTrip()
DReflectionTest.java70 String jsonString = json.toJson(fromCopyConstructor); in create()
/external/skia/src/gpu/
DGrAuditTrail.cpp18 json->append(array[i]->toJson()); in JsonifyTArray()
94 SkString GrAuditTrail::toJson(bool prettyPrint) const { in toJson() function in GrAuditTrail
107 SkString GrAuditTrail::Frame::toJson() const { in toJson() function in GrAuditTrail::Frame
116 SkString GrAuditTrail::Batch::toJson() const { in toJson() function in GrAuditTrail::Batch
/external/skia/include/private/
DGrAuditTrail.h94 SkString toJson(bool prettyPrint = false) const;
105 virtual SkString toJson() const=0;
113 SkString toJson() const override;
118 SkString toJson() const override;
/external/vogar/src/vogar/monitor/
DTargetMonitor.java73 writer.print(marker + gson.toJson(jsonObject) + "\n");
83 writer.print(marker + gson.toJson(jsonObject) + "\n");
93 writer.print(marker + gson.toJson(jsonObject) + "\n");
/external/libgdx/gdx/src/com/badlogic/gdx/utils/
DJson.java183 public String toJson (Object object) { in toJson() method in Json
184 return toJson(object, object == null ? null : object.getClass(), (Class)null); in toJson()
187 public String toJson (Object object, Class knownType) { in toJson() method in Json
188 return toJson(object, knownType, (Class)null); in toJson()
193 public String toJson (Object object, Class knownType, Class elementType) { in toJson() method in Json
195 toJson(object, knownType, elementType, buffer); in toJson()
199 public void toJson (Object object, FileHandle file) { in toJson() method in Json
200 toJson(object, object == null ? null : object.getClass(), null, file); in toJson()
204 public void toJson (Object object, Class knownType, FileHandle file) { in toJson() method in Json
205 toJson(object, knownType, null, file); in toJson()
[all …]
DJsonValue.java913 public String toJson (OutputType outputType) { in toJson() method in JsonValue
/external/libgdx/gdx/src/com/badlogic/gdx/net/
DHttpRequestBuilder.java131 String jsonContent = json.toJson(content); in jsonContent()
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
DRequestBodyCompression.java51 MEDIA_TYPE_JSON, new Gson().toJson(requestBody)); in run()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DOutputFileDumper.java112 gson.toJson(trial, Trial.class, writer.get()); in processTrial()
DResultsUploader.java103 resource.type(APPLICATION_JSON_TYPE).post(gson.toJson(ImmutableList.of(trial))); in processTrial()
/external/smali/smalidea/src/main/java/org/jf/smalidea/errorReporting/
DGithubFeedbackTask.java127 return ((new Gson()).toJson(result)).getBytes(Charset.forName("UTF-8")); in convertToGithubIssueFormat()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/
DParticleEffectLoader.java98 json.toJson(data, parameter.file); in save()
/external/skia/tools/debugger/
DSkDrawCommand.cpp249 SkDEBUGCODE(bool parsingSuccessful = )reader.parse(at->toJson().c_str(), in drawToAndCollectJSON()