net.liftweb.couchdb.JSONRecord

trait JSONRecord

trait JSONRecord[MyType <: JSONRecord[MyType]]

 extends Record[MyType]


Specialized Record that can be encoded and decoded from JSON


Source: JSONRecord.scala(67)

Direct Known Subclasses

CouchRecord,

 Fields

additionalJFields.. def additionalJFields
Additional fields that are not represented by Record fields, nor are fixed additional fields [details]
Default implementation is for preserving unknown fields across read/write
List[JField]
asJSON.. def asJSON JsExp Record
asJValue.. def asJValue
Encode this record instance as a JObject
JObject
fixedAdditionalJFields.. def fixedAdditionalJFields
Extra fields to add to the encoded object, such as type [details]
Default is none (Nil)
List[JField]
meta.. abstract def meta
Refines meta to require a JSONMetaRecord
JSONMetaRecord[MyType]
safe_?.. final def safe_? Boolean Record
toXHtml.. def toXHtml NodeSeq Record
validate.. def validate List[FieldError] Record

 Methods

!=.. final def !=(arg0 : Object) Boolean AnyRef
!=.. final def !=(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Object) Boolean AnyRef
additionalJFields_=.. def additionalJFields_=(fields : List[JField])
Handle any additional fields that are not represented by Record fields when decoding from a JObject [details]
Default implementation preserves the fields intact and returns them via additionalJFields
Unit
asInstanceOf.. final def asInstanceOf[T0] T0 Any
clone.. protected def clone Object AnyRef
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
fieldByName.. def fieldByName(arg0 : String) Box[OwnedField[MyType]] Record
fields.. def fields List[OwnedField[MyType]] Record
finalize.. protected def finalize Unit AnyRef
getClass.. final def getClass Class[Any] AnyRef
hashCode.. def hashCode Int AnyRef
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
runSafe.. def runSafe[T](arg0 : => T) T Record
setFieldsFromJSON.. def setFieldsFromJSON(arg0 : String) Box[Unit] Record
setFieldsFromJValue.. def setFieldsFromJValue(jvalue : JValue)
Set the fields of this record from the given JValue
Box[Unit]
setFieldsFromReq.. def setFieldsFromReq(arg0 : Req) Box[Unit] Record
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toForm.. def toForm(arg0 : (MyType) => Unit) NodeSeq Record
toForm.. def toForm(arg0 : Box[String]) NodeSeq Record
toString.. def toString String AnyRef
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.