Data

interface Data : Operation.Data

Functions

Link copied to clipboard
fun Operation.Data.toJson(customScalarAdapters: CustomScalarAdapters = CustomScalarAdapters.Empty): String

Serializes the given Data to a String.

expect fun Operation.Data.toJson(jsonWriter: JsonWriter, customScalarAdapters: CustomScalarAdapters = CustomScalarAdapters.Empty)

Serializes the given Data to the given JsonWriter.

Link copied to clipboard
fun Operation.Data.toResponseJson(customScalarAdapters: CustomScalarAdapters = CustomScalarAdapters.Empty): String

Serializes the given Data to a successful GraphQL response: