alias
zio.blocks.schema.Modifier.alias
Makes the JSON codec also accept name for a field or a case when decoding. Encoding still uses the main name: the rename name, or the Scala name after any naming strategy. A field or case can have several aliases.
Attributes
- Source
- Modifier.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Termtrait Modifiertrait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Members list
In this article