JsObject

object JsObject extends Seq[(String, JsValue)] => JsObject
Companion
class
trait Product
trait Mirror
trait Seq[(String, JsValue)] => JsObject
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def apply(fields: Seq[(String, JsValue)]): JsObject

Construct a new JsObject, with the order of fields in the Seq.

Construct a new JsObject, with the order of fields in the Seq.

An empty JSON object

An empty JSON object

Inherited methods

@unspecialized
def andThen[A](g: JsObject => A): Seq[(String, JsValue)] => A
Inherited from
Function1
@unspecialized
def compose[A](g: A => Seq[(String, JsValue)]): A => JsObject
Inherited from
Function1

Implicits

Implicits

implicit def writes: OWrites[JsObject]

Identity writes

Identity writes