ApolloJsonElement

typealias ApolloJsonElement = Any?

A typealias for a type-unsafe Kotlin representation of JSON. This typealias is mainly for internal documentation purposes and low-level manipulations and should generally be avoided in application code.

ApolloJsonElement can be any of:

  • null

  • String

  • Boolean

  • Int

  • Long

  • Double

  • JsonNumber

  • Map where values are any of these values recursively

  • List where values are any of these values recursively

  • dynamic for advanced use cases using @JsExport

Anything else is undefined