Api

sealed trait Api[Config <: DecodingConfig] extends CommonApi[Config]
trait CommonApi[Config]
class Object
trait Matchable
class Any

Value members

Abstract methods

def to[T : Decoder]: Sealed[T]

Decodes an instance of T from the configured Input using the configured options.

Decodes an instance of T from the configured Input using the configured options.

def withPrefixOnly: Api[Config]

Indicates that this decoding run is not expected to consume the complete Input.

Indicates that this decoding run is not expected to consume the complete Input.

Inherited methods

def withConfig(config: Config): Api[Config]

Configures the Config for this encoding/decoding run.

Configures the Config for this encoding/decoding run.

Inherited from:
CommonApi
def withLogging(createLogger: LevelInfo => Logger): Api[Config]

Enables logging of the encoding/decoding progress to the given Logging.Logger.

Enables logging of the encoding/decoding progress to the given Logging.Logger.

Inherited from:
CommonApi
def withPrintLogging(maxShownByteArrayPrefixLen: Int, maxShownStringPrefixLen: Int, maxShownArrayElems: Int, maxShownMapEntries: Int, initialGutterWidth: Int, renderLevelCount: Boolean, renderEndOfInput: Boolean, renderCommas: Boolean, indentation: String, mapKeySep: String): Api[Config]

Enables logging of the encoding/decoding progress to the console. Each data item that is written/received by the application is pretty printed to the console on its own line.

Enables logging of the encoding/decoding progress to the console. Each data item that is written/received by the application is pretty printed to the console on its own line.

Inherited from:
CommonApi
def withStringLogging(stringBuilder: StringBuilder, maxShownByteArrayPrefixLen: Int, maxShownStringPrefixLen: Int, maxShownArrayElems: Int, maxShownMapEntries: Int, initialGutterWidth: Int, renderLevelCount: Boolean, renderEndOfInput: Boolean, renderCommas: Boolean, indentation: String, mapKeySep: String, lineSep: String, mapValueOnNewLine: Boolean): Api[Config]

Enables logging of the encoding/decoding progress to the given JStringBuilder.

Enables logging of the encoding/decoding progress to the given JStringBuilder.

Inherited from:
CommonApi
def withTransformerAdded(transformer: () => Config): Api[Config]

Allows for injecting additional custom logic into the encoding/decoding process. Used, for example, for on-the-side Logging.

Allows for injecting additional custom logic into the encoding/decoding process. Used, for example, for on-the-side Logging.

Inherited from:
CommonApi