Convert the JsValue to an instance of the class context.
Convert the JsValue to an instance of the class context. Returns an instance of T.
Serialize in a JSON into a Scala object, specifying a class that can be loaded through an externally specified class loader.
Serialize in a JSON into a Scala object, specifying a class that can be loaded through an externally specified class loader. In order to specify the class loader, do the following :
object SJSON extends SJSON { val classLoader = None }
Serialize out a Scala object.
Serialize out a Scala object. It can be serialized back in to the object using in method.
val l = List("ab", "cd") in(out(l)) => ["ab", "cd"] in[List[String]](out(l)) => List("ab", "cd")Caveat Nulls are serialized as String null ("null"). This may create problems if a String field contains the value "null".
Generate a JSON representation of the object obj and return the string.
Generate a JSON representation of the object obj and return the string.