DefaultJsonProtocol

besom.json.DefaultJsonProtocol
See theDefaultJsonProtocol companion trait

Attributes

Companion
trait
Graph
Supertypes
trait JsonProtocol
trait BasicFormats
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited classlikes

Attributes

Inherited from:
BasicFormats
Supertypes
class Object
trait Matchable
class Any
Show all

Attributes

Inherited from:
BasicFormats
Supertypes
class Object
trait Matchable
class Any
Show all

Attributes

Inherited from:
BasicFormats
Supertypes
class Object
trait Matchable
class Any
Show all
object ByteJsonFormat extends JsonFormat[Byte]

Attributes

Inherited from:
BasicFormats
Supertypes
trait JsonFormat[Byte]
trait JsonWriter[Byte]
trait JsonReader[Byte]
class Object
trait Matchable
class Any
Show all
object CharJsonFormat extends JsonFormat[Char]

Attributes

Inherited from:
BasicFormats
Supertypes
trait JsonFormat[Char]
trait JsonWriter[Char]
trait JsonReader[Char]
class Object
trait Matchable
class Any
Show all

Attributes

Inherited from:
BasicFormats
Supertypes
class Object
trait Matchable
class Any
Show all
object FloatJsonFormat extends JsonFormat[Float]

Attributes

Inherited from:
BasicFormats
Supertypes
trait JsonFormat[Float]
trait JsonWriter[Float]
trait JsonReader[Float]
class Object
trait Matchable
class Any
Show all
object IntJsonFormat extends JsonFormat[Int]

Attributes

Inherited from:
BasicFormats
Supertypes
trait JsonFormat[Int]
trait JsonWriter[Int]
trait JsonReader[Int]
class Object
trait Matchable
class Any
Show all
object JsValueFormat extends JsonFormat[JsValue]

Attributes

Inherited from:
AdditionalFormats
Supertypes
class Object
trait Matchable
class Any
Show all
object LongJsonFormat extends JsonFormat[Long]

Attributes

Inherited from:
BasicFormats
Supertypes
trait JsonFormat[Long]
trait JsonWriter[Long]
trait JsonReader[Long]
class Object
trait Matchable
class Any
Show all
class OptionFormat[T] extends JsonFormat[Option[T]]

Attributes

Inherited from:
StandardFormats
Supertypes
trait JsonFormat[Option[T]]
trait JsonWriter[Option[T]]
trait JsonReader[Option[T]]
class Object
trait Matchable
class Any
Show all

Attributes

Inherited from:
AdditionalFormats
Supertypes
class Object
trait Matchable
class Any
Show all

Attributes

Inherited from:
AdditionalFormats
Supertypes
class Object
trait Matchable
class Any
Show all
object ShortJsonFormat extends JsonFormat[Short]

Attributes

Inherited from:
BasicFormats
Supertypes
trait JsonFormat[Short]
trait JsonWriter[Short]
trait JsonReader[Short]
class Object
trait Matchable
class Any
Show all

Attributes

Inherited from:
BasicFormats
Supertypes
class Object
trait Matchable
class Any
Show all

Attributes

Inherited from:
BasicFormats
Supertypes
class Object
trait Matchable
class Any
Show all
object UnitJsonFormat extends JsonFormat[Unit]

Attributes

Inherited from:
BasicFormats
Supertypes
trait JsonFormat[Unit]
trait JsonWriter[Unit]
trait JsonReader[Unit]
class Object
trait Matchable
class Any
Show all

Value members

Inherited methods

Constructs a JsonFormat from its two parts, JsonReader and JsonWriter.

Constructs a JsonFormat from its two parts, JsonReader and JsonWriter.

Attributes

Inherited from:
AdditionalFormats
inline def jsonFormatN[T <: Product]: RootJsonFormat[T]

Attributes

Inherited from:
ProductFormats

Lazy wrapper around serialization. Useful when you want to serialize (mutually) recursive structures.

Lazy wrapper around serialization. Useful when you want to serialize (mutually) recursive structures.

Attributes

Inherited from:
AdditionalFormats
def lift[T <: AnyRef](reader: RootJsonReader[T]): RootJsonFormat[T]

Turns a RootJsonReader into a RootJsonFormat that throws an UnsupportedOperationException for writes.

Turns a RootJsonReader into a RootJsonFormat that throws an UnsupportedOperationException for writes.

Attributes

Inherited from:
AdditionalFormats
def lift[T <: AnyRef](reader: JsonReader[T]): JsonFormat[T]

Turns a JsonReader into a JsonFormat that throws an UnsupportedOperationException for writes.

Turns a JsonReader into a JsonFormat that throws an UnsupportedOperationException for writes.

Attributes

Inherited from:
AdditionalFormats

Turns a RootJsonWriter into a RootJsonFormat that throws an UnsupportedOperationException for reads.

Turns a RootJsonWriter into a RootJsonFormat that throws an UnsupportedOperationException for reads.

Attributes

Inherited from:
AdditionalFormats

Turns a JsonWriter into a JsonFormat that throws an UnsupportedOperationException for reads.

Turns a JsonWriter into a JsonFormat that throws an UnsupportedOperationException for reads.

Attributes

Inherited from:
AdditionalFormats

Attributes

Inherited from:
ProductFormats

Explicitly turns a JsonFormat into a RootJsonFormat.

Explicitly turns a JsonFormat into a RootJsonFormat.

Attributes

Inherited from:
AdditionalFormats

Constructs a RootJsonFormat from its two parts, RootJsonReader and RootJsonWriter.

Constructs a RootJsonFormat from its two parts, RootJsonReader and RootJsonWriter.

Attributes

Inherited from:
AdditionalFormats

Wraps an existing JsonReader with Exception protection.

Wraps an existing JsonReader with Exception protection.

Attributes

Inherited from:
AdditionalFormats
def viaSeq[I <: Iterable[T], T : JsonFormat](f: Seq[T] => I): RootJsonFormat[I]

A JsonFormat construction helper that creates a JsonFormat for an Iterable type I from a builder function List => I.

A JsonFormat construction helper that creates a JsonFormat for an Iterable type I from a builder function List => I.

Attributes

Inherited from:
CollectionFormats

Attributes

Inherited from:
ProductFormats

Implicits

Inherited implicits

Supplies the JsonFormat for Arrays.

Supplies the JsonFormat for Arrays.

Attributes

Inherited from:
CollectionFormats

Attributes

Inherited from:
StandardFormats

Attributes

Inherited from:
CollectionFormats

Attributes

Inherited from:
CollectionFormats

Attributes

Inherited from:
CollectionFormats

Attributes

Inherited from:
CollectionFormats

Attributes

Inherited from:
CollectionFormats

Attributes

Inherited from:
CollectionFormats

Attributes

Inherited from:
CollectionFormats

Attributes

Inherited from:
CollectionFormats

Supplies the JsonFormat for Lists.

Supplies the JsonFormat for Lists.

Attributes

Inherited from:
CollectionFormats

Supplies the JsonFormat for Maps. The implicitly available JsonFormat for the key type K must always write JsStrings, otherwise a besom.json.SerializationException will be thrown.

Supplies the JsonFormat for Maps. The implicitly available JsonFormat for the key type K must always write JsStrings, otherwise a besom.json.SerializationException will be thrown.

Attributes

Inherited from:
CollectionFormats

Attributes

Inherited from:
StandardFormats
implicit def seqFormat[T : JsonFormat]: RootJsonFormat[Seq[T]]

Attributes

Inherited from:
CollectionFormats
implicit def setFormat[T : JsonFormat]: RootJsonFormat[Set[T]]

Attributes

Inherited from:
CollectionFormats
implicit def tuple1Format[A : JsonFormat]: JsonFormat[(A)]

Attributes

Inherited from:
StandardFormats

Attributes

Inherited from:
StandardFormats

Attributes

Inherited from:
StandardFormats

Attributes

Inherited from:
StandardFormats

Attributes

Inherited from:
StandardFormats

Attributes

Inherited from:
StandardFormats

Attributes

Inherited from:
StandardFormats

Attributes

Inherited from:
CollectionFormats