Converter

object Converter extends SupportConverter[Value]
trait SupportConverter[Value]
class Object
trait Matchable
class Any

Value members

Concrete methods

def fromBinary[A](ary: Array[Byte])(implicit reader: JsonReader[A]): Try[A]
def fromBinary[A](in: InputStream)(implicit reader: JsonReader[A]): Try[A]
def fromBinaryUnsafe[A](ary: Array[Byte])(implicit reader: JsonReader[A]): A
def fromBinaryUnsafe[A](in: InputStream)(implicit reader: JsonReader[A]): A
def toBinary[A](obj: A)(implicit writer: JsonWriter[A]): Try[Array[Byte]]
def toBinary[A](obj: A, out: OutputStream)(implicit writer: JsonWriter[A]): Try[Unit]
def toBinaryUnsafe[A](obj: A)(implicit writer: JsonWriter[A]): Array[Byte]
def toBinaryUnsafe[A](obj: A, out: OutputStream)(implicit writer: JsonWriter[A]): Unit

Inherited methods

def fromJson[A](js: Value)(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.

Inherited from
SupportConverter
def fromJsonOptionUnsafe[A](jsOpt: Option[Value])(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.

Inherited from
SupportConverter
def fromJsonUnsafe[A](js: Value)(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.

Inherited from
SupportConverter
def makeBuilder: Builder[Value]
Inherited from
SupportConverter
def makeUnbuilder: Unbuilder[Value]
Inherited from
SupportConverter
def toJson[A](obj: A)(implicit writer: JsonWriter[A]): Try[Value]

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.

Inherited from
SupportConverter
def toJsonUnsafe[A](obj: A)(implicit writer: JsonWriter[A]): Value

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.

Inherited from
SupportConverter

Implicits

Implicits

implicit
val facade: Facade[Value]