JacksonSupport
Provides implicits that allow various data sources to be passed to a JsonParser's parse
method,
using the Jackson library's classes as the underlying JSON event generator.
Provides implicits that allow various data sources to be passed to a JsonParser's parse
method,
using the Jackson library's classes as the underlying JSON event generator.
By default, a Parsable
instance is made available for the following types:
- `String``
- `java.io.File``
Resource[F, java.io.InputStream]
(whereF
belongs toSync
)Resource[F, java.io.Reader]
(whereF
belongs toSync
)
A rough outline of the implicit derivation is:
Source => Resource[F, JacksonJsonParser] => Stream[F, JsonEvent] => Parsable[Source]
Implicits
Implicits
Provides a Parsable
for applicable source types in the cats.Id
context (using cats.effect.SyncIO
under the hood).
This allows those source types to be passed to a JsonParser's parse
method, running the parser handler immediately.
Provides a Parsable
for applicable source types in the cats.Id
context (using cats.effect.SyncIO
under the hood).
This allows those source types to be passed to a JsonParser's parse
method, running the parser handler immediately.
Provides a Parsable
for applicable source types in any effect F
that belongs to the cats.effect.Sync
typeclass.
This allows those source types to be passed to a JsonParser's parseF
method, running the parser handler in the F context.
Provides a Parsable
for applicable source types in any effect F
that belongs to the cats.effect.Sync
typeclass.
This allows those source types to be passed to a JsonParser's parseF
method, running the parser handler in the F context.