JsonType

zio.json.codegen.JsonType
object JsonType

Attributes

Source
Generator.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
JsonType.type

Members list

Type members

Classlikes

final case class Alternatives(values: Chunk[JsonType])

Attributes

Source
Generator.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class CaseClass(name: String, fields: JObject)

Attributes

Source
Generator.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class JArray(value: JsonType)

Attributes

Source
Generator.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object JBigDecimal

Attributes

Source
Generator.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object JBoolean

Attributes

Source
Generator.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
JBoolean.type
case object JDouble

Attributes

Source
Generator.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
JDouble.type
case object JInt

Attributes

Source
Generator.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
JInt.type
case object JLocalDate

Attributes

Source
Generator.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
JLocalDate.type
case object JLocalDateTime

Attributes

Source
Generator.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object JLong

Attributes

Source
Generator.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
JLong.type
case object JNull

Attributes

Source
Generator.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
JNull.type
final case class JObject(fields: ListMap[String, JsonType])

Attributes

Source
Generator.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class JOption(value: JsonType)

Attributes

Source
Generator.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object JString

Attributes

Source
Generator.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
JString.type
case object JUUID

Attributes

Source
Generator.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
JUUID.type

Inherited and Abstract types

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def flattenCaseClasses(jsonType: JsonType): List[CaseClass]

Attributes

Source
Generator.scala
def render(jsonType: JsonType): String

Attributes

Source
Generator.scala

Attributes

Source
Generator.scala
def unifyTypes(json: Json, key: Option[String] = ...): JsonType

Attributes

Source
Generator.scala