JsonObj

harness.schema.JsonSchema$.JsonObj
sealed trait JsonObj[A] extends JsonSchema[A]

Attributes

Graph
Supertypes
trait JsonSchema[A]
trait Schema[A]
class Object
trait Matchable
class Any
Known subtypes
class ProductJsonObj[A]
class SumJsonObj[A]

Members list

Value members

Inherited methods

final def decode(string: String): Either[String, A]

Attributes

Inherited from:
Schema
final def encode(value: A): String

Attributes

Inherited from:
Schema
override def tiemap[B](to: A => Either[String, B], from: B => A)(using evidence$3: Tag[B]): JsonSchema[B]

Attributes

Definition Classes
Inherited from:
JsonSchema
override def timap[B](to: A => B, from: B => A)(using evidence$4: Tag[B]): JsonSchema[B]

Attributes

Definition Classes
Inherited from:
JsonSchema

Inherited fields

val codec: JsonCodec[A]

Attributes

Inherited from:
JsonSchema
final val ref: SchemaRef

Attributes

Inherited from:
Schema
val tag: HTag[A]

Attributes

Inherited from:
Schema