jawnstreamz
package jawnstreamz
Integrates the Jawn parser with scalaz-stream
- Alphabetic
- By Inheritance
- jawnstreamz
- 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
JsonSourceSyntax
[F[_], O] extends AnyRef
Suffix syntax and convenience methods for parseJson.
Value Members
-
def
parseJson[A, J](mode: Mode)(implicit A: Absorbable[A], facade: Facade[J]): Process1[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[A, J](implicit A: Absorbable[A], facade: Facade[J]): Process1[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[A, J](implicit A: Absorbable[A], facade: Facade[J]): Process1[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