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 Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product