jsoniter

io.github.iltotore.iron.jsoniter
object jsoniter

Attributes

Source
jsoniter.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
jsoniter.type

Members list

Givens

Givens

inline given makeCodec: [A, B] => (Constraint[A, B], CodecMakerConfig = ...) => JsonValueCodec[IronType[A, B]]

Creates a JsonValueCodec for refined types

Creates a JsonValueCodec for refined types

Value parameters

constraint

the Constraint implementation to test the decoded value.

Attributes

Source
jsoniter.scala
inline given refinedTypeCodec: [T] => (Mirror[T], JsonValueCodec[mirror.IronType]) => JsonValueCodec[T]

Creates a JsonValueCodec for new types

Creates a JsonValueCodec for new types

Attributes

Source
jsoniter.scala