EncodingApi

sealed trait EncodingApi[EncodingConfig <: TransEncodingConfig, DecodingConfig <: Config] extends CommonApi[EncodingConfig]
trait CommonApi[EncodingConfig]
class Object
trait Matchable
class Any

Value members

Abstract methods

def transDecode: DecodingApi[DecodingConfig]

Inherited methods

def withConfig(config: EncodingConfig): EncodingApi[EncodingConfig, DecodingConfig]

Configures the Config for this encoding/decoding run.

Configures the Config for this encoding/decoding run.

Inherited from:
CommonApi
def withLogging(createLogger: LevelInfo => Logger): EncodingApi[EncodingConfig, DecodingConfig]

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): EncodingApi[EncodingConfig, DecodingConfig]

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): EncodingApi[EncodingConfig, DecodingConfig]

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: () => EncodingConfig): EncodingApi[EncodingConfig, DecodingConfig]

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