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

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product