ObjectValue

data class ObjectValue(val fields: Map<String, GraphQLValue>) : GraphQLValue(source)

JSON object value with String keys.

Use this type for arbitrary JSON fields that do not have a dedicated contract, such as the contents of GraphQLResponse.extensions, GraphQLResponseError.extensions, or any vendor-specific payload.

Constructors

Link copied to clipboard
constructor(fields: Map<String, GraphQLValue>)

Properties

Link copied to clipboard

The key/value pairs of the object.