trivial
.
rest
.
serialisation
Json4sSerialiser
Related Doc:
package serialisation
class
Json4sSerialiser
extends
Serialiser
Linear Supertypes
Serialiser
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
Json4sSerialiser
Serialiser
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Instance Constructors
new
Json4sSerialiser
()
Type Members
type
JsonRepresentation
=
JValue
Definition Classes
Json4sSerialiser
→
Serialiser
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
deserialise
[
T
]
(
body:
String
)
(
implicit
arg0:
Manifest
[
T
]
)
:
Either
[
Failure
,
Seq
[
T
]]
Definition Classes
Json4sSerialiser
→
Serialiser
def
deserialiseToJson
[
T
]
(
body:
String
)
(
implicit
arg0:
Manifest
[
T
]
)
:
JValue
Definition Classes
Json4sSerialiser
→
Serialiser
def
deserialiseToType
[
T
]
(
json:
JValue
)
(
implicit
arg0:
Manifest
[
T
]
)
:
Either
[
Failure
,
Seq
[
T
]]
Definition Classes
Json4sSerialiser
→
Serialiser
def
emptyJson
:
JNothing
.type
Definition Classes
Json4sSerialiser
→
Serialiser
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
implicit
def
formatsExcept
[
T
]
(
implicit
arg0:
ClassTag
[
T
]
)
:
Formats
Definition Classes
Json4sSerialiser
→
Serialiser
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
hunt
[
T <:
Resource
[
T
]
]
(
allTheTs: ⇒
Either
[
Failure
,
Seq
[
T
]]
,
id:
String
)
:
Option
[
T
]
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
registerResource
[
T <:
Resource
[
T
]
]
(
allTheTs: (
Formats
) ⇒
Either
[
Failure
,
Seq
[
T
]]
)
(
implicit
arg0:
ClassTag
[
T
]
)
:
Json4sSerialiser
Definition Classes
Json4sSerialiser
→
Serialiser
def
serialise
[
T <:
AnyRef
]
(
t:
T
)
(
implicit
arg0:
ClassTag
[
T
]
)
:
String
Definition Classes
Serialiser
def
serialise
[
T <:
AnyRef
]
(
seqTs:
Seq
[
T
]
)
(
implicit
arg0:
ClassTag
[
T
]
)
:
String
Definition Classes
Serialiser
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
withDefaultFields
[
T
]
(
defaultObject:
T
)
(
implicit
arg0:
ClassTag
[
T
]
)
:
Json4sSerialiser
Definition Classes
Json4sSerialiser
→
Serialiser
def
withTypeSerialiser
[
T
]
(
typeSerialiser:
TypeSerialiser
[
T
]
)
:
Serialiser
Definition Classes
Json4sSerialiser
→
Serialiser
Inherited from
Serialiser
Inherited from
AnyRef
Inherited from
Any
Ungrouped