Target

io.bullet.borer.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.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Cbor.type
object Json.type

Members list

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[_, _]