JsValue

wjson.JsValue
See theJsValue companion enum
object JsValue

Attributes

Companion
enum
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
JsValue.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 JsArray(elements: JsValue*): JsArray
def JsNumber(value: Int): JsNumber
def JsObject(fields: (String, JsValue)*): JsObject
def parse(str: String): JsValue

Extensions

Extensions

extension (value: JsObject)
def +(kv: (String, JsValue)): JsObject
def ++(other: JsObject): JsObject
def ++(other: Seq[(String, JsValue)]): JsObject
def contains(name: String): Boolean
def field(name: String): JsValue
def fieldOpt(name: String): Option[JsValue]
def merge(kvs: (String, JsValue)*): JsObject
extension (value: JsValue)
def show: String
def show(indent: Int, margin: Int): String
def showPretty: String