Jsony

diffson.Jsony
trait Jsony[Json] extends Eq[Json], Show[Json]

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

Attributes

Source
Jsony.scala
Graph
Supertypes
trait Show[Json]
trait ContravariantShow[Json]
trait Eq[Json]
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Abstract methods

def Null: Json

Attributes

Source
Jsony.scala
def array(json: Json): Option[Vector[Json]]

Attributes

Source
Jsony.scala
def fields(json: Json): Option[Map[String, Json]]

Attributes

Source
Jsony.scala
def makeArray(values: Vector[Json]): Json

Attributes

Source
Jsony.scala
def makeObject(fields: Map[String, Json]): Json

Attributes

Source
Jsony.scala

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.

Attributes

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.

Attributes

Inherited from:
Eq
Source
Eq.scala
def show(t: Json): String

Attributes

Inherited from:
ContravariantShow
Source
Show.scala