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 Serializabletrait Producttrait Equalstrait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Members list
In this article