JsonNum

harness.schema.JsonSchema$.JsonNum
final case class JsonNum[A](tag: HTag[A], codec: JsonCodec[A]) extends JsonSchema[A]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait JsonSchema[A]
trait Schema[A]
class Object
trait Matchable
class Any
Show all

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
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
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

final val ref: SchemaRef

Attributes

Inherited from:
Schema