jawnfs2
package jawnfs2
Integrates the Jawn parser with fs2
- Alphabetic
- By Inheritance
- jawnfs2
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait Absorbable[A] extends AnyRef
Type class that can be absorbed by a Jawn AsyncParser
- implicit class JsonStreamSyntax[F[_], O] extends AnyRef
Suffix syntax and convenience methods for parseJson
Value Members
- def parseJson[F[_], A, J](mode: Mode)(implicit F: ApplicativeError[F, Throwable], A: Absorbable[A], facade: RawFacade[J]): Pipe[F, A, J]
Parses to any Jawn-supported AST using the specified Async mode.
Parses to any Jawn-supported AST using the specified Async mode.
- J
the JSON AST to return
- mode
the async mode of the Jawn parser
- facade
the Jawn facade to materialize
J
- def parseJsonStream[F[_], A, J](implicit F: ApplicativeError[F, Throwable], A: Absorbable[A], facade: RawFacade[J]): Pipe[F, A, J]
Emits individual JSON elements as they are parsed.
Emits individual JSON elements as they are parsed.
- J
the JSON AST to return
- facade
the Jawn facade to materialize
J
- def unwrapJsonArray[F[_], A, J](implicit F: ApplicativeError[F, Throwable], A: Absorbable[A], facade: RawFacade[J]): Pipe[F, A, J]
Emits elements of an outer JSON array as they are parsed.
Emits elements of an outer JSON array as they are parsed.
- J
the JSON AST to return
- facade
the Jawn facade to materialize
J
- object Absorbable