jsonField

zio.json.jsonField
final case class jsonField(name: String) extends Annotation

If used on a case class field, determines the name of the JSON field. Defaults to the case class field name.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
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