Jsony

trait Jsony[Json] extends Eq[Json] with Show[Json]

Type-class that describes what is needed for an object to be able to be diffed as a json like object.

Type-class that describes what is needed for an object to be able to be diffed as a json like object.

trait Show[Json]
trait ContravariantShow[Json]
trait Eq[Json]
trait Serializable
class Object
trait Matchable
class Any

Value members

Abstract methods

def Null: Json
def array(json: Json): Option[Vector[Json]]
def fields(json: Json): Option[Map[String, Json]]
def makeArray(values: Vector[Json]): Json
def makeObject(fields: Map[String, Json]): Json

Inherited methods

def eqv(x: Json, y: Json): Boolean

Returns true if x and y are equivalent, false otherwise.

Returns true if x and y are equivalent, false otherwise.

Inherited from
Eq
def neqv(x: Json, y: Json): Boolean

Returns false if x and y are equivalent, true otherwise.

Returns false if x and y are equivalent, true otherwise.

Inherited from
Eq
def show(t: Json): String
Inherited from
ContravariantShow