object JsonContent
Provides lol.http.ContentEncoder
and lol.http.ContentDecoder
for io.circe.Json
values.
- Source
- JsonContent.scala
- Alphabetic
- By Inheritance
- JsonContent
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
- @native() @throws( ... )
-
def
decoder(maxSize: Int = ContentDecoder.MaxSize, codec: Codec = Codec.UTF8): ContentDecoder[Json]
Creates JSON decoders.
Creates JSON decoders.
- maxSize
the maximum amout of byte to read in memory.
- codec
the charset to use to read the JSON text. Default to
UTF-8
.- returns
a
lol.http.ContentDecoder
forio.circe.JSON
.
-
def
encoder(codec: Codec = Codec.UTF8): ContentEncoder[Json]
Creates JSON encoders.
Creates JSON encoders.
- codec
the charset to use to read the JSON text. Default to
UTF-8
.- returns
a
lol.http.ContentEncoder
forio.circe.JSON
.
-
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] )
-
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
-
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()
-
def
sseEventDecoder: EventDecoder[Json]
A decoder for Server Sent Events.
-
def
sseEventEncoder: EventEncoder[Json]
A encoder for Server Sent Events.
-
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
- @native() @throws( ... )