toJson
Serializes the given Data to a String.
Note: this method uses reflection to lookup the adapter. If you are using R8, add the following rules:
-keep class ** implements com.apollographql.apollo.api.Operation$Data
-keep class **.*_ResponseAdapter$Data {
public static ** INSTANCE;
}Parameters
the adapters to use for custom scalars
Serializes the given Data to the given JsonWriter.
Note: this method uses reflection to lookup the adapter. If you are using R8, add the following rules:
-keep class ** implements com.apollographql.apollo.api.Operation$Data
-keep class **.*_ResponseAdapter$Data {
public static ** INSTANCE;
}Parameters
the adapters to use for custom scalars
Serializes the given Data to the given JsonWriter.
Note: this method uses reflection to lookup the adapter. If you are using R8, add the following rules:
-keep class ** implements com.apollographql.apollo.api.Operation$Data
-keep class **.*_ResponseAdapter$Data {
public static ** INSTANCE;
}Parameters
the adapters to use for custom scalars
Serializes the given Data to the given JsonWriter.
Note: this method uses reflection to lookup the adapter. If you are using R8, add the following rules:
-keep class ** implements com.apollographql.apollo.api.Operation$Data
-keep class **.*_ResponseAdapter$Data {
public static ** INSTANCE;
}Parameters
the adapters to use for custom scalars
Serializes the given Data to the given JsonWriter.
Note: this method uses reflection to lookup the adapter. If you are using R8, add the following rules:
-keep class ** implements com.apollographql.apollo.api.Operation$Data
-keep class **.*_ResponseAdapter$Data {
public static ** INSTANCE;
}Parameters
the adapters to use for custom scalars
Serializes the given Data to the given JsonWriter.
Note: this method uses reflection to lookup the adapter. If you are using R8, add the following rules:
-keep class ** implements com.apollographql.apollo.api.Operation$Data
-keep class **.*_ResponseAdapter$Data {
public static ** INSTANCE;
}Parameters
the adapters to use for custom scalars