JsonObject

grapple.json.JsonObject
See theJsonObject companion trait
object JsonObject

Provides JSON object factory.

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
JsonObject.type

Members list

Value members

Concrete methods

def apply(): JsonObject

Creates empty JSON object.

Creates empty JSON object.

Attributes

def apply(fields: Map[String, JsonValue]): JsonObject

Creates JSON object with supplied fields.

Creates JSON object with supplied fields.

Attributes

def apply(fields: Seq[(String, JsonValue)]): JsonObject

Creates JSON object with supplied fields.

Creates JSON object with supplied fields.

Attributes

Gets empty JSON object.

Gets empty JSON object.

Attributes

def unapply(json: JsonObject): Option[Map[String, JsonValue]]

Deconstructs JSON object.

Deconstructs JSON object.

Attributes