JsonObject

object JsonObject

Provides JSON object factory.

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

Creates empty JSON object.

Creates empty JSON object.

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

Creates JSON object with supplied fields.

Creates JSON object with supplied fields.

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

Creates JSON object with supplied fields.

Creates JSON object with supplied fields.

Gets empty JSON object.

Gets empty JSON object.

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

Destructures JSON object to its fields.

Destructures JSON object to its fields.