class
Implicits extends AnyRef
Instance Constructors
-
new
Implicits()
Type Members
-
class
PBinder extends PimpedType[String]
-
class
PJSON extends PimpedType[JValue]
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
$(elements: JValue*): JArray
-
def
%(body: ⇒ Any): JObject
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
implicit
def
bigDecimal2String(arg: BigDecimal): JString
-
implicit
def
bigInt2JString(arg: BigInt): JString
-
implicit
def
boolean2JBool(arg: Boolean): JBool
-
def
clone(): AnyRef
-
implicit
def
double2JDouble(arg: Double): JDouble
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
implicit
def
float2JDouble(arg: Float): JDouble
-
final
def
getClass(): java.lang.Class[_]
-
def
hashCode(): Int
-
implicit
def
int2JInt(arg: Int): JInt
-
final
def
isInstanceOf[T0]: Boolean
-
implicit
def
long2JInt(arg: Long): JInt
-
implicit
def
makeBinderFromString(arg: String): PBinder
-
implicit
def
makeBinderFromSymbol(arg: Symbol): PBinder
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
implicit
def
pimpJsonAST(arg: JValue): PJSON
-
implicit
def
string2JString(arg: String): JString
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
Overview
Provides a DSL for constructing JSON object(based on net.liftweb.json.JsonAST.JValue). To use the DSL, the following code is needed for preparation:
After the above code, users construct JSON object as the followings:
To prevent pollution of namespace, it is recommended that this DSL is used inside blocks: