CollectionFormats

besom.json.CollectionFormats

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

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

Implicits

Implicits

Supplies the JsonFormat for Arrays.

Supplies the JsonFormat for Arrays.

Attributes

Supplies the JsonFormat for Lists.

Supplies the JsonFormat for Lists.

Attributes

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

implicit def seqFormat[T : JsonFormat]: RootJsonFormat[Seq[T]]
implicit def setFormat[T : JsonFormat]: RootJsonFormat[Set[T]]