All Downloads are FREE. Search and download functionalities are using the official Maven repository.

zio.schema.annotation.directDynamicMapping.scala Maven / Gradle / Ivy

package zio.schema.annotation

import scala.annotation.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.
 */
final case class directDynamicMapping() extends StaticAnnotation




© 2015 - 2024 Weber Informatics LLC | Privacy Policy