org.scalajs.core.tools

json

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
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. json
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type JSON = AnyRef

  2. trait JSONDeserializer[T] extends AnyRef

  3. class JSONObjBuilder extends AnyRef

  4. class JSONObjExtractor extends AnyRef

  5. implicit class JSONPimp[T] extends AnyRef

  6. trait JSONSerializer[T] extends AnyRef

Value Members

  1. object JSONDeserializer

  2. object JSONSerializer

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

  4. def jsonToString(x: JSON): String

  5. def readJSON(reader: Reader): JSON

  6. def readJSON(str: String): JSON

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

Inherited from AnyRef

Inherited from Any

Ungrouped