JsonDecoder

org.http4s.circe.JsonDecoder
See theJsonDecoder companion object
trait JsonDecoder[F[_]]

F-algebra for separating the Sync required for extracting the Json from the body. As such if F is Sync at some layer, then this can be used to extract without the lower layer needing to be aware of the strong constraint.

Attributes

Companion:
object
Source:
JsonDecoder.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

def asJson(m: Message[F]): F[Json]

Attributes

Source:
JsonDecoder.scala
def asJsonDecode[A : Decoder](m: Message[F]): F[A]

Attributes

Source:
JsonDecoder.scala