Json

oxygen.json.Json
See theJson companion trait
object Json

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Json.type

Members list

Type members

Classlikes

final case class Arr(value: Contiguous[Json]) extends Json

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Json
class Object
trait Matchable
class Any
Show all
final case class Bool(value: Boolean) extends Json

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Json
class Object
trait Matchable
class Any
Show all
case object Null extends Json

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Json
class Object
trait Matchable
class Any
Show all
Self type
Null.type
final case class Number(value: BigDecimal) extends Json

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Json
class Object
trait Matchable
class Any
Show all
final case class Obj(value: Contiguous[(String, Json)]) extends Json

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Json
class Object
trait Matchable
class Any
Show all
final case class Str(value: String) extends Json

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Json
class Object
trait Matchable
class Any
Show all
enum Type

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def arr(value: Json*): Arr
def boolean(value: Boolean): Bool
def number(value: Byte): Number
def number(value: Short): Number
def number(value: Int): Number
def number(value: Long): Number
def number(value: Float): Number
def number(value: Double): Number
def number(value: BigInt): Number
def number(value: BigDecimal): Number
def obj(value: (String, Json)*): Obj
def parse(string: String): Either[JsonError, Json]
def parseOrJsonString(string: String): Json
def string(value: String): Str