NullOptions

io.bullet.borer.NullOptions
object NullOptions

In order to enable an alternative Option codec, which encodes None to null and Some to an unwrapped value you can import the members of this object with

import io.bullet.borer.NullOptions.*

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Implicits

Implicits

implicit def decoder[T : Decoder]: Decoder[Option[T]]
implicit def encoder[T : Encoder]: Encoder[Option[T]]