| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |
object Serialization
extends
ScalaObject
Example:
val hints = new ShortTypeHints( ... ) implicit val formats = Serialization.formats(hints)
- net.liftweb.json.TypeHints
def this
|
| !=.. |
final def !=(arg0 : Object)
|
Boolean | AnyRef |
| !=.. |
final def !=(arg0 : Any)
|
Boolean | Any |
| ==.. |
final def ==(arg0 : Any)
|
Boolean | Any |
| ==.. |
final def ==(arg0 : Object)
|
Boolean | AnyRef |
| 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 |
| finalize.. |
protected def finalize
|
Unit | AnyRef |
| formats.. |
def formats(hints : TypeHints)
Create Serialization formats with given type hints
[details]
Example: val hints = new ShortTypeHints( ... ) implicit val formats = Serialization.formats(hints) |
Formats | |
| 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 |
| read.. |
def read[A, R <: Reader](in : Reader)(implicit formats : Formats, implicit mf : Manifest[A])
Deserialize from a Reader
|
A | |
| read.. |
def read[A](json : String)(implicit formats : Formats, implicit mf : Manifest[A])
Deserialize from a String
|
A | |
| synchronized.. |
final def synchronized[T0](arg0 : T0)
|
T0 | AnyRef |
| 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 |
| write.. |
def write[A <: Object, W <: Writer](a : A, out : W)(implicit formats : Formats)
Serialize to Writer
|
W | |
| write.. |
def write[A <: Object](a : A)(implicit formats : Formats)
Serialize to String
|
String |
| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |