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.

Source:
Jsony.scala
trait Show[Json]
trait ContravariantShow[Json]
trait Eq[Json]
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
Source:
Eq.scala
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
Source:
Eq.scala
def show(t: Json): String
Inherited from:
ContravariantShow
Source:
Show.scala