Package-level declarations

Types

Link copied to clipboard
interface Json

Platform-independent utility for JSON serialization.

Properties

Link copied to clipboard

The shared kotlinx.serialization Json instance for ADK's types, such as the Event graph. It leaves credential secrets out of what it writes; session storage writes them with ADK's internal revealing instance instead. Defaults are omitted to keep payloads small, unknown keys are ignored for forward-compatibility, and AnySerializer is registered contextually for free-form Any values.

Functions

Link copied to clipboard

Returns the JSON form of value, a JSON-native value, Content, Schema, or a typed credential or secret written without its secrets. Throws IllegalArgumentException for a value with no JSON form.

Link copied to clipboard