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

Type Members

  1. class JsonAssoc[A] extends AnyRef

    Definition Classes
    JsonDSL
  2. class JsonListAssoc extends AnyRef

    Definition Classes
    JsonDSL

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): JsonAST.JDouble

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

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

    Definition Classes
    Implicits
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. implicit def double2jvalue(x: Double): JsonAST.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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. implicit def float2jvalue(x: Float): JsonAST.JDouble

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

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

    Definition Classes
    AnyRef → Any
  18. implicit def int2jvalue(x: Int): JsonAST.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]): JsonAST.JObject

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

    Definition Classes
    Implicits
  23. implicit def map2jvalue[A](m: Map[String, A])(implicit arg0: (A) ⇒ JValue): JsonAST.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): JsonAST.JObject

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

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

    Definition Classes
    Implicits
  32. implicit def symbol2jvalue(x: Symbol): JsonAST.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

Ungrouped