harness.schema.JsonSchema$
See theJsonSchema companion trait
object JsonSchema extends Derivable[JsonSchema]
Attributes
- Companion
- trait
- Graph
-
- Supertypes
- Self type
-
JsonSchema.type
Members list
Type members
Classlikes
final case class JsonArr[A](tag: HTag[A], codec: JsonCodec[A], elem: JsonSchema[_]) extends JsonSchema[A]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JsonSchema[A]trait Schema[A]class Objecttrait Matchableclass AnyShow all
final case class JsonBool[A](tag: HTag[A], codec: JsonCodec[A]) extends JsonSchema[A]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JsonSchema[A]trait Schema[A]class Objecttrait Matchableclass AnyShow all
final case class JsonNum[A](tag: HTag[A], codec: JsonCodec[A]) extends JsonSchema[A]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JsonSchema[A]trait Schema[A]class Objecttrait Matchableclass AnyShow all
sealed trait JsonObj[A] extends JsonSchema[A]
Attributes
- Supertypes
- Known subtypes
-
class ProductJsonObj[A]class SumJsonObj[A]
final case class JsonStr[A](tag: HTag[A], codec: JsonCodec[A], enumValues: Option[List[String]]) extends JsonSchema[A]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JsonSchema[A]trait Schema[A]class Objecttrait Matchableclass AnyShow all
final case class NotRequired[A](tag: HTag[A], codec: JsonCodec[A], elem: JsonSchema[_], canBeNull: Boolean, canBeMissing: Boolean) extends JsonSchema[A]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JsonSchema[A]trait Schema[A]class Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final case class ProductJsonObj[A](tag: HTag[A], codec: JsonCodec[A], name: String, elems: Lazy[List[ProductField]]) extends JsonObj[A]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JsonObj[A]trait JsonSchema[A]trait Schema[A]class Objecttrait Matchableclass AnyShow all
final case class SumJsonObj[A](tag: HTag[A], codec: JsonCodec[A], discriminator: Option[String], options: List[SumOption[_]]) extends JsonObj[A]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JsonObj[A]trait JsonSchema[A]trait Schema[A]class Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Inherited methods
Attributes
- Inherited from:
- Derivable
Attributes
- Inherited from:
- Derivable
Implicits
Implicits
implicit def encodedStringSchema[A](using evidence$15: StringEncoder[A], evidence$16: StringDecoder[A], evidence$17: Tag[A]): JsonSchema[A]
implicit def enumSchema[E <: Enum[LazyRef(...)]](using evidence$13: Tag[E], evidence$14: ClassTag[E], ewe: WithEnc[E, String]): JsonSchema[E]
Attributes
- Definition Classes
-
Derivable
Attributes
- Definition Classes
-
Derivable
implicit def nelSchema[A](using evidence$22: Tag[A], elem: JsonSchema[A]): JsonSchema[NonEmptyList[A]]
In this article