CustomEncoder

interface CustomEncoder

Interface for defining a custom encoder. That applied to the value during dataframe JSON serialization

Inheritors

Functions

Link copied to clipboard
abstract fun canEncode(input: Any?): Boolean

Determines whether this encoder can encode the given input.

Link copied to clipboard
abstract fun encode(input: Any?): JsonElement

Encodes the provided input into a JSON element.