Target

sealed abstract class Target

Super-type of the Cbor and Json objects.

Used, for example, as the type of the target member of Reader and Writer instances, which allows custom logic to pick different (de)serialization approaches depending on whether the target is CBOR or JSON.

class Object
trait Matchable
class Any
object Cbor.type
object Json.type

Value members

Abstract methods

def decode[T](input: T)(implicit w: Provider[T]): Api[_]
def encode[T : Encoder](value: T): Api[_]
def transEncode[T : Encoder](value: T): EncodingApi[_, _]