Package

jawnfs2

Permalink

package jawnfs2

Integrates the Jawn parser with fs2

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. jawnfs2
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Absorbable[A] extends AnyRef

    Permalink

    Type class that can be absorbed by a Jawn AsyncParser

  2. implicit class JsonStreamSyntax[F[_], O] extends AnyRef

    Permalink

    Suffix syntax and convenience methods for parseJson

Value Members

  1. object Absorbable

    Permalink
  2. def parseJson[F[_], A, J](mode: Mode)(implicit A: Absorbable[A], facade: Facade[J]): Pipe[F, A, J]

    Permalink

    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

  3. def parseJsonStream[F[_], A, J](implicit A: Absorbable[A], facade: Facade[J]): Pipe[F, A, J]

    Permalink

    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

  4. def unwrapJsonArray[F[_], A, J](implicit A: Absorbable[A], facade: Facade[J]): Pipe[F, A, J]

    Permalink

    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

Inherited from AnyRef

Inherited from Any

Ungrouped