net.liftweb.json

JsonDSL

object JsonDSL extends JsonDSL

A DSL to produce valid JSON. Example:

import net.liftweb.json.JsonDSL._
("name", "joe") ~ ("age", 15) == JObject(JField("name",JString("joe")) :: JField("age",JInt(15)) :: Nil)

Linear Supertypes
JsonDSL, Implicits, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. JsonDSL
  2. JsonDSL
  3. Implicits
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Type Members

  1. class JsonAssoc[A] extends AnyRef

  2. class JsonListAssoc extends AnyRef

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. implicit def bigdecimal2jvalue(x: BigDecimal): JDouble

    Definition Classes
    Implicits
  8. implicit def bigint2jvalue(x: BigInt): JInt

    Definition Classes
    Implicits
  9. implicit def boolean2jvalue(x: Boolean): JBool

    Definition Classes
    Implicits
  10. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. implicit def double2jvalue(x: Double): JDouble

    Definition Classes
    Implicits
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. implicit def float2jvalue(x: Float): JDouble

    Definition Classes
    Implicits
  16. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. implicit def int2jvalue(x: Int): JInt

    Definition Classes
    Implicits
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. implicit def jobject2assoc(o: JObject): JsonListAssoc

    Definition Classes
    JsonDSL
  21. implicit def list2jvalue(l: List[JField]): JObject

    Definition Classes
    JsonDSL
  22. implicit def long2jvalue(x: Long): JInt

    Definition Classes
    Implicits
  23. implicit def map2jvalue[A](m: Map[String, A])(implicit arg0: (A) ⇒ JValue): JObject

    Definition Classes
    JsonDSL
  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. implicit def option2jvalue[A](opt: Option[A])(implicit arg0: (A) ⇒ JValue): JValue

    Definition Classes
    JsonDSL
  28. implicit def pair2Assoc[A](t: (String, A))(implicit arg0: (A) ⇒ JValue): JsonAssoc[A]

    Definition Classes
    JsonDSL
  29. implicit def pair2jvalue[A](t: (String, A))(implicit arg0: (A) ⇒ JValue): JObject

    Definition Classes
    JsonDSL
  30. implicit def seq2jvalue[A](s: Traversable[A])(implicit arg0: (A) ⇒ JValue): JArray

    Definition Classes
    JsonDSL
  31. implicit def string2jvalue(x: String): JString

    Definition Classes
    Implicits
  32. implicit def symbol2jvalue(x: Symbol): JString

    Definition Classes
    JsonDSL
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. def toString(): String

    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  36. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  37. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from JsonDSL

Inherited from Implicits

Inherited from AnyRef

Inherited from Any