JsObject

play.api.libs.json.JsObject
See theJsObject companion class
object JsObject extends Seq[(String, JsValue)] => JsObject

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
trait Seq[(String, JsValue)] => JsObject
class Object
trait Matchable
class Any
Show all
Self type
JsObject.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

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.

Attributes

An empty JSON object

An empty JSON object

Attributes

Inherited methods

def andThen[A](g: JsObject => A): T1 => A

Attributes

Inherited from:
Function1
def compose[A](g: A => Seq[(String, JsValue)]): A => R

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1

Implicits

Implicits

implicit def writes: OWrites[JsObject]

Identity writes

Identity writes

Attributes