SupportConverter

class Object
trait Matchable
class Any

Value members

Concrete methods

def fromJson[A](js: J)(implicit reader: JsonReader[A]): Try[A]

Convert a JSON AST of type J to an object of type A.

Convert a JSON AST of type J to an object of type A.

def fromJsonOptionUnsafe[A](jsOpt: Option[J])(implicit reader: JsonReader[A]): A

Convert a JSON AST of type J to an object of type A. This might fail by throwing an exception.

Convert a JSON AST of type J to an object of type A. This might fail by throwing an exception.

def fromJsonUnsafe[A](js: J)(implicit reader: JsonReader[A]): A

Convert a JSON AST of type J to an object of type A. This might fail by throwing an exception.

Convert a JSON AST of type J to an object of type A. This might fail by throwing an exception.

def toJson[A](obj: A)(implicit writer: JsonWriter[A]): Try[J]

Convert an object of type A to a JSON AST of type J.

Convert an object of type A to a JSON AST of type J.

def toJsonUnsafe[A](obj: A)(implicit writer: JsonWriter[A]): J

Convert an object of type A to a JSON AST of type J. This might fail by throwing an exception.

Convert an object of type A to a JSON AST of type J. This might fail by throwing an exception.

Implicits

Implicits

implicit
def facade: Facade[J]