trait BaseCirceSupport extends AnyRef
Automatic to and from JSON marshalling/unmarshalling using an in-scope circe protocol.
- Alphabetic
- By Inheritance
- BaseCirceSupport
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- type SourceOf[A] = Source[A, _]
Abstract Value Members
-
implicit abstract
def
fromByteStringUnmarshaller[A](implicit arg0: Decoder[A]): Unmarshaller[ByteString, A]
ByteString=>AByteString=>A- A
type to decode
- returns
unmarshaller for any
Avalue
-
implicit abstract
def
unmarshaller[A](implicit arg0: Decoder[A]): FromEntityUnmarshaller[A]
HTTP entity =>
AHTTP entity =>
A- A
type to decode
- returns
unmarshaller for
A
Concrete 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 byteStringJsonUnmarshaller: Unmarshaller[ByteString, Json]
-
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] )
-
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 final
def
jsonMarshaller(implicit printer: Printer = Printer.noSpaces): ToEntityMarshaller[Json]
Json=> HTTP entityJson=> HTTP entity- returns
marshaller for JSON value
-
implicit final
val
jsonUnmarshaller: FromEntityUnmarshaller[Json]
HTTP entity =>
JsonHTTP entity =>
Json- returns
unmarshaller for
Json
-
implicit final
def
marshaller[A](implicit arg0: Encoder[A], printer: Printer = Printer.noSpaces): ToEntityMarshaller[A]
A=> HTTP entityA=> HTTP entity- A
type to encode
- returns
marshaller for any
Avalue
- def mediaTypes: Seq[WithFixedCharset]
-
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 final
val
safeJsonUnmarshaller: FromEntityUnmarshaller[Either[ParsingFailure, Json]]
HTTP entity =>
Either[io.circe.ParsingFailure, Json]HTTP entity =>
Either[io.circe.ParsingFailure, Json]- returns
unmarshaller for
Either[io.circe.ParsingFailure, Json]
-
implicit
def
sourceMarshaller[A](implicit writes: Encoder[A], printer: Printer = Printer.noSpaces, 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
-
implicit
def
sourceUnmarshaller[A](implicit arg0: Decoder[A], support: JsonEntityStreamingSupport = EntityStreamingSupport.json()): FromEntityUnmarshaller[SourceOf[A]]
HTTP entity =>
Source[A, _]HTTP entity =>
Source[A, _]- A
type to decode
- returns
unmarshaller for
Source[A, _]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def unmarshallerContentTypes: Seq[ContentTypeRange]
-
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()