Home
last modified time | relevance | path

Searched defs:fromJson (Results 1 – 25 of 66) sorted by relevance

123

/external/cronet/stable/third_party/llvm-libc/src/benchmarks/
DJSON.cpp44 static Error fromJson(const json::Value &V, bool &Out) { in fromJson() function
52 static Error fromJson(const json::Value &V, double &Out) { in fromJson() function
60 static Error fromJson(const json::Value &V, std::string &Out) { in fromJson() function
68 static Error fromJson(const json::Value &V, uint32_t &Out) { in fromJson() function
72 static Error fromJson(const json::Value &V, int &Out) { in fromJson() function
76 static Error fromJson(const json::Value &V, libc_benchmarks::Duration &D) { in fromJson() function
83 static Error fromJson(const json::Value &V, MaybeAlign &Out) { in fromJson() function
101 static Error fromJson(const json::Value &V, in fromJson() function
136 static Error fromJson(const json::Value &V, std::vector<T> &Out) { in fromJson() function
174 static Error fromJson(const json::Value &V, in fromJson() function
[all …]
/external/cronet/tot/third_party/llvm-libc/src/benchmarks/
DJSON.cpp44 static Error fromJson(const json::Value &V, bool &Out) { in fromJson() function
52 static Error fromJson(const json::Value &V, double &Out) { in fromJson() function
60 static Error fromJson(const json::Value &V, std::string &Out) { in fromJson() function
68 static Error fromJson(const json::Value &V, uint32_t &Out) { in fromJson() function
72 static Error fromJson(const json::Value &V, int &Out) { in fromJson() function
76 static Error fromJson(const json::Value &V, libc_benchmarks::Duration &D) { in fromJson() function
83 static Error fromJson(const json::Value &V, MaybeAlign &Out) { in fromJson() function
101 static Error fromJson(const json::Value &V, in fromJson() function
136 static Error fromJson(const json::Value &V, std::vector<T> &Out) { in fromJson() function
174 static Error fromJson(const json::Value &V, in fromJson() function
[all …]
/external/moshi/moshi/src/test/java/com/squareup/moshi/
DClassJsonAdapterTest.java48 BasicPizza fromJson = fromJson(BasicPizza.class, "{\"diameter\":13,\"extraCheese\":true}"); in basicClassAdapter() local
64 PrivateFieldsPizza fromJson = in privateFields() local
85 DessertPizza fromJson = fromJson(DessertPizza.class, "{\"diameter\":13,\"chocolate\":true}"); in typeHierarchy() local
112 ExtendsBaseAbcde fromJson = in fieldsAreAlphabeticalAcrossFlattenedHierarchy() local
133 StaticFields fromJson = fromJson(StaticFields.class, "{\"a\":13,\"b\":12}"); in staticFieldsOmitted() local
151 TransientFields fromJson = fromJson(TransientFields.class, "{\"a\":13,\"b\":12}"); in transientFieldsOmitted() local
171 IgnoredFields fromJson = fromJson(IgnoredFields.class, "{\"a\":13,\"b\":12}"); in ignoredFieldsOmitted() local
237 ExtendsTransientBaseA fromJson = fromJson(ExtendsTransientBaseA.class, "{\"a\":11}"); in fieldNameCollisionWithTransientFieldIsOkay() local
253 NoArgConstructor fromJson = fromJson(NoArgConstructor.class, "{\"b\":8}"); in noArgConstructor() local
297 NoArgConstructorWithDefaultField fromJson = in noArgConstructorFieldDefaultsHonored() local
[all …]
DMapJsonAdapterTest.java45 Map<String, Boolean> fromJson = in map() local
74 Map<String, Boolean> fromJson = fromJson(String.class, Boolean.class, "{}"); in emptyMap() local
126 Map<String, Integer> fromJson = in orderIsRetained() local
155 Map<Integer, Boolean> fromJson = in mapWithNonStringKeys() local
269 private <K, V> Map<K, V> fromJson(Type keyType, Type valueType, String json) throws IOException { in fromJson() method in MapJsonAdapterTest
DCircularAdaptersTest.java64 Team fromJson = in circularAdapters() local
131 public Node fromJson(JsonReader reader) throws IOException { in create() method in CircularAdaptersTest.PrefixingNodeFactory
DKotlinExtensionsTest.kt64 override fun fromJson(reader: JsonReader): Int { in addAdapterInferred() method
84 override fun fromJson(reader: JsonReader): List<Int> { in addAdapterInferred_parameterized() method
/external/moshi/moshi/src/main/java/com/squareup/moshi/
DJsonAdapter.java48 public abstract @Nullable T fromJson(JsonReader reader) throws IOException; in fromJson() method in JsonAdapter
57 public final @Nullable T fromJson(BufferedSource source) throws IOException { in fromJson() method in JsonAdapter
68 public final @Nullable T fromJson(String string) throws IOException { in fromJson() method in JsonAdapter
DRecordJsonAdapter.java43 public T fromJson(JsonReader reader) throws IOException { in fromJson() method in RecordJsonAdapter
DStandardJsonAdapters.java287 public T fromJson(JsonReader reader) throws IOException { in fromJson() method in StandardJsonAdapters.EnumJsonAdapter
340 public Object fromJson(JsonReader reader) throws IOException { in fromJson() method in StandardJsonAdapters.ObjectJsonAdapter
DArrayJsonAdapter.java55 public Object fromJson(JsonReader reader) throws IOException { in fromJson() method in ArrayJsonAdapter
/external/moshi/kotlin/tests/codegen-only/src/test/kotlin/com/squareup/moshi/kotlin/codegen/annotation/
DUppercaseInAnnotationPackage.kt33 fun fromJson(s: String): String { in fromJson() method in com.squareup.moshi.kotlin.codegen.annotation.UppercaseInAnnotationPackageJsonAdapter
/external/moshi/examples/src/main/java/com/squareup/moshi/recipes/
DMultipleFormats.java59 Card fromJson( in fromJson() method in MultipleFormats.MultipleFormatsCardAdapter
81 Card fromJson(String card) { in fromJson() method in MultipleFormats.CardStringAdapter
DCardAdapter.java31 Card fromJson(String card) { in fromJson() method in CardAdapter
/external/aws-sdk-java-v2/services-custom/s3-transfer-manager/src/main/java/software/amazon/awssdk/transfer/s3/internal/serialization/
DResumableFileDownloadSerializer.java105 public static ResumableFileDownload fromJson(String bytes) { in fromJson() method in ResumableFileDownloadSerializer
111 public static ResumableFileDownload fromJson(byte[] bytes) { in fromJson() method in ResumableFileDownloadSerializer
117 public static ResumableFileDownload fromJson(InputStream bytes) { in fromJson() method in ResumableFileDownloadSerializer
DResumableFileUploadSerializer.java130 public static ResumableFileUpload fromJson(String bytes) { in fromJson() method in ResumableFileUploadSerializer
136 public static ResumableFileUpload fromJson(byte[] string) { in fromJson() method in ResumableFileUploadSerializer
142 public static ResumableFileUpload fromJson(InputStream inputStream) { in fromJson() method in ResumableFileUploadSerializer
/external/moshi/moshi-adapters/src/main/java/com/squareup/moshi/
DRfc3339DateJsonAdapter.java30 public Date fromJson(JsonReader reader) throws IOException { in fromJson() method in Rfc3339DateJsonAdapter
/external/moshi/moshi-adapters/src/main/java/com/squareup/moshi/adapters/
DRfc3339DateJsonAdapter.java37 public synchronized Date fromJson(JsonReader reader) throws IOException { in fromJson() method in Rfc3339DateJsonAdapter
/external/moshi/kotlin/tests/codegen-only/src/test/kotlin/com/squareup/moshi/kotlin/codegen/
DGeneratedAdaptersTest_CustomGeneratedClassJsonAdapter.kt25 override fun fromJson(reader: JsonReader): CustomGeneratedClass? { in fromJson() method in com.squareup.moshi.kotlin.codegen.GeneratedAdaptersTest_CustomGeneratedClassJsonAdapter
/external/moshi/moshi/src/main/java/com/squareup/moshi/internal/
DNullSafeJsonAdapter.java37 public @Nullable T fromJson(JsonReader reader) throws IOException { in fromJson() method in NullSafeJsonAdapter
DNonNullJsonAdapter.java39 public T fromJson(JsonReader reader) throws IOException { in fromJson() method in NonNullJsonAdapter
/external/google-auth-library-java/oauth2_http/javatests/com/google/auth/oauth2/
DGdchCredentialsTestUtil.java22 public static GdchCredentials fromJson( in fromJson() method in GdchCredentialsTestUtil
/external/autotest/frontend/client/src/autotest/moblab/rpc/
DConnectedBoard.java32 public void fromJson(JSONObject object) { in fromJson() method in ConnectedBoard
DConnectedDutInfo.java38 public void fromJson(JSONObject object) { in fromJson() method in ConnectedDutInfo
DJsonRpcEntity.java10 public abstract void fromJson(JSONObject object); in fromJson() method in JsonRpcEntity
/external/moshi/moshi-adapters/src/test/java/com/squareup/moshi/adapters/
DRfc3339DateJsonAdapterTest.java38 public void fromJson() throws Exception { in fromJson() method in Rfc3339DateJsonAdapterTest

123