Packages

c

scala.util.parsing.json

JSONObject

case class JSONObject(obj: Map[String, Any]) extends JSONType with Product with Serializable

Represents a JSON Object (map).

Annotations
@deprecated
Deprecated

(Since version 1.0.6) Use The Scala Library Index to find alternatives: https://index.scala-lang.org/

Source
Parser.scala
Linear Supertypes
Serializable, java.io.Serializable, Product, Equals, JSONType, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JSONObject
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. JSONType
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JSONObject(obj: Map[String, Any])

Value Members

  1. val obj: Map[String, Any]
  2. def toString(formatter: ValueFormatter): String

    This version of toString allows you to provide your own value formatter.

    This version of toString allows you to provide your own value formatter.

    Definition Classes
    JSONObjectJSONType
  3. def toString(): String

    Returns a String representation of this JSON value using the JSONFormat.defaultFormatter.

    Returns a String representation of this JSON value using the JSONFormat.defaultFormatter.

    Definition Classes
    JSONType → AnyRef → Any