directDynamicMapping

zio.schema.annotation.directDynamicMapping
final case class directDynamicMapping() extends StaticAnnotation

When applied to a Schema.Dynamic schema, indicates that the dynamic value should be directly mapped to the target codec if possible.

For example the JSON codec can encode DynamicValue.Record to a JSON object directly instead of encoding the DynamicValue structure.

Attributes

Source
directDynamicMapping.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Annotation
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala