Package

org.scalajs.core.tools

json

Permalink

package json

Some type-class lightweight wrappers around simple-json.

They allow to write xyz.toJSON to obtain classes that can be serialized by simple-json and fromJSON[T](xyz) to get an object back.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. json
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type JSON = Any

    Permalink
  2. trait JSONDeserializer[T] extends AnyRef

    Permalink
  3. class JSONObjBuilder extends AnyRef

    Permalink
  4. class JSONObjExtractor extends AnyRef

    Permalink
  5. implicit class JSONPimp[T] extends AnyRef

    Permalink
  6. trait JSONSerializer[T] extends AnyRef

    Permalink

Value Members

  1. object JSONDeserializer

    Permalink
  2. object JSONSerializer

    Permalink
  3. def fromJSON[T](x: JSON)(implicit d: JSONDeserializer[T]): T

    Permalink
  4. def jsonToString(x: JSON): String

    Permalink
  5. def readJSON(reader: Reader): JSON

    Permalink
  6. def readJSON(str: String): JSON

    Permalink
  7. def writeJSON(x: JSON, writer: Writer): Unit

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped