DeriveOpaqueTypeCodec

io.funkode.arangodb.http.DeriveOpaqueTypeCodec$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def createOpaqueCodec[T, S](create: S => T, unwrap: T => S)(using JsonCodec[S]): JsonCodec[T]
inline def gen[T, S](inline create: S => T, inline unwrap: T => S)(using JsonCodec[S]): JsonCodec[T]