Packages

package json

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

Type Members

  1. type JsonContextMatcher[+C] = ContextMatcher[JsonStackElem, C]
  2. type JsonParser[+Out] = Parser[JsonEvent, Out]
  3. type JsonSplitter[+C] = Splitter[JsonEvent, C]
  4. type JsonTransformer[+Out] = Transformer[JsonEvent, Out]

Value Members

  1. val JsonParser: ParserApplyWithBoundInput[JsonEvent]
  2. val JsonSplitter: SplitterApplyWithBoundInput[JsonEvent]
  3. val JsonTransformer: TransformerApplyWithBoundInput[JsonEvent]
  4. def anyField: JsonContextMatcher[String]
  5. def anyIndex: JsonContextMatcher[Int]
  6. def field[A](contextFromName: (String) => Option[A]): JsonContextMatcher[A]
  7. implicit def field(name: String): JsonContextMatcher[Unit]
  8. def fieldWhere(f: (String) => Boolean): JsonContextMatcher[String]
  9. def index[A](contextFromIndex: (Int) => Option[A]): JsonContextMatcher[A]
  10. def index(i: Int): JsonContextMatcher[Unit]
  11. def indexWhere(f: (Int) => Boolean): JsonContextMatcher[Int]
  12. implicit val jsonParserForPrimitiveBoolean: JsonParser[Boolean]
  13. implicit val jsonParserForPrimitiveDouble: JsonParser[Double]
  14. implicit val jsonParserForPrimitiveFloat: JsonParser[Float]
  15. implicit val jsonParserForPrimitiveInt: JsonParser[Int]
  16. implicit val jsonParserForPrimitiveLong: JsonParser[Long]
  17. implicit val jsonParserForPrimitiveNull: JsonParser[None.type]
  18. implicit val jsonParserForPrimitiveString: JsonParser[String]
  19. object JacksonSource

    Provides helpers for creating fs2.Stream and Iterator instances of JsonEvent from various underlying event sources, using the Jackson library as the underlying event parser.

    Provides helpers for creating fs2.Stream and Iterator instances of JsonEvent from various underlying event sources, using the Jackson library as the underlying event parser.

    The helpers in this object operate in terms of the IntoJacksonJsonParser typeclass, which defines logic for using a source value to construct a Jackson JsonParser in a Resource. From there, the helpers take care of converting the jackson parser/event model to the spac JsonEvent model.

    For example:

    val file = new File("./stuff.json")
    val jsonStream: Stream[IO, JsonEvent] = JacksonSource[IO](file)

Inherited from AnyRef

Inherited from Any

support

Ungrouped