p

zio

schema

package schema

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package ast
  2. package codec
  3. package internal

Type Members

  1. trait AccessorBuilder extends AnyRef
  2. sealed trait Append[EnumType, -Left, -Right] extends AnyRef
  3. trait AppendLowPriority extends AppendLowPriority2
  4. trait AppendLowPriority2 extends AnyRef
  5. sealed trait CaseSet extends AnyRef
  6. trait DefaultJavaTimeSchemas extends AnyRef
  7. sealed trait Diff extends AnyRef
  8. trait Differ[A] extends AnyRef
  9. sealed trait DynamicValue extends AnyRef
  10. sealed trait EnumSchemas extends AnyRef
  11. sealed trait FieldSet extends AnyRef
  12. sealed trait RecordSchemas extends AnyRef
  13. sealed trait Schema[A] extends AnyRef

    A Schema[A] describes the structure of some data type A, in terms of case classes, enumerations (sealed traits), collections, and various primitive types (including not only Scala's own primitive types, but enhanced with java.time and big integers / decimals).

    A Schema[A] describes the structure of some data type A, in terms of case classes, enumerations (sealed traits), collections, and various primitive types (including not only Scala's own primitive types, but enhanced with java.time and big integers / decimals).

    Schemas models the structure of data types as first class values, so they can be introspected, transformed, and combined using ordinary Scala code, without macros, metaprogramming, or codegen.

    There are implicit schemas provided for all standard Scala types, and you can automatically derive schemas for your own data types by using DeriveSchema.gen[A]. Whether you write them by hand by using constructors and operators,

    final case class Person(name: String, age: Int)
    object Person {
      implicit val personSchema: Schema[Person] = DeriveSchema.gen[Person]
    }
  14. trait SchemaSyntax extends AnyRef
  15. sealed trait StandardType[A] extends Ordering[A]
  16. sealed trait TupleSchemas extends AnyRef

Value Members

  1. object Append extends AppendLowPriority
  2. object CaseSet
  3. object Cons0
  4. object Diff
  5. object Differ
  6. object DynamicValue
  7. object FieldSet
  8. object Schema extends TupleSchemas with RecordSchemas with EnumSchemas
  9. object SchemaOrdering
  10. object StandardType extends Serializable
  11. object syntax extends SchemaSyntax

Ungrouped