api

http4k / org.http4k.lens / BiDiMapping / <init>

<init>

BiDiMapping(clazz: Class<OUT>, asOut: (IN) -> OUT, asIn: (OUT) -> IN)

A BiDiMapping defines a reusable bidirectional transformation between an input and output type