Visitor

interface Visitor<out R>

An interface that defines how to map each variant state of a JsonValue to a value of type R.

Inheritors

Functions

Link copied to clipboard
open fun visitArray(values: List<JsonValue>): R
Link copied to clipboard
open fun visitBoolean(value: Boolean): R
Link copied to clipboard
open fun visitDefault(): R

The default implementation for unimplemented visitor methods.

Link copied to clipboard
open fun visitMissing(): R
Link copied to clipboard
open fun visitNull(): R
Link copied to clipboard
open fun visitNumber(value: Number): R
Link copied to clipboard
open fun visitObject(values: Map<String, JsonValue>): R
Link copied to clipboard
open fun visitString(value: String): R