object Json4sSupport extends Json4sSupport
Automatic to and from JSON marshalling/unmarshalling using an in-scope *Json4s* protocol.
Pretty printing is enabled if an implicit Json4sSupport.ShouldWritePretty.True is in scope.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Json4sSupport
- Json4sSupport
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- sealed abstract class ShouldWritePretty extends AnyRef
-
type
SourceOf[A] = Source[A, _]
- Definition Classes
- Json4sSupport
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
implicit
def
fromByteStringUnmarshaller[A](implicit arg0: Manifest[A], s: Serialization, formats: Formats): Unmarshaller[ByteString, A]
ByteString=>AByteString=>A- A
type to decode
- returns
unmarshaller for any
Avalue
- Definition Classes
- Json4sSupport
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
implicit
def
marshaller[A <: AnyRef](implicit serialization: Serialization, formats: Formats, shouldWritePretty: ShouldWritePretty = ShouldWritePretty.False): ToEntityMarshaller[A]
A=> HTTP entityA=> HTTP entity- A
type to encode, must be upper bounded by
AnyRef- returns
marshaller for any
Avalue
- Definition Classes
- Json4sSupport
-
def
mediaTypes: Seq[WithFixedCharset]
- Definition Classes
- Json4sSupport
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
implicit
def
sourceMarshaller[A <: AnyRef](implicit serialization: Serialization, formats: Formats, shouldWritePretty: ShouldWritePretty = False, support: JsonEntityStreamingSupport = EntityStreamingSupport.json()): ToEntityMarshaller[SourceOf[A]]
SourceOf[A]=> HTTP entitySourceOf[A]=> HTTP entity- A
type to encode
- returns
marshaller for any
SourceOf[A]value
- Definition Classes
- Json4sSupport
-
implicit
def
sourceUnmarshaller[A](implicit arg0: Manifest[A], support: JsonEntityStreamingSupport = EntityStreamingSupport.json(), serialization: Serialization, formats: Formats): FromEntityUnmarshaller[SourceOf[A]]
HTTP entity =>
Source[A, _]HTTP entity =>
Source[A, _]- A
type to decode
- returns
unmarshaller for
Source[A, _]
- Definition Classes
- Json4sSupport
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
implicit
def
unmarshaller[A](implicit arg0: Manifest[A], serialization: Serialization, formats: Formats): FromEntityUnmarshaller[A]
HTTP entity =>
A -
def
unmarshallerContentTypes: Seq[ContentTypeRange]
- Definition Classes
- Json4sSupport
-
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( ... ) @native()
- object ShouldWritePretty