Packages

p

fs2.data.json

selector

package selector

Contains a DSL to build a json selector. Start a selector with root and then chain the rest.

val sel = root.index(10).?.fields("a", "b").compile
Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. selector
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class IndicesBuilder[S](predicate: IndexPredicate, strict: Boolean, parent: SelectorBuilder[_, _]) extends SelectorBuilder[NotApplicable, S] with Product with Serializable
  2. case class IteratorBuilder[S](strict: Boolean, parent: SelectorBuilder[_, _]) extends SelectorBuilder[NotApplicable, S] with Product with Serializable
  3. class Lenient extends AnyRef

    Marker class to notify that a selector doesn't require the type of the element it is applied to to be the expected one (array or object)

  4. sealed trait Lenientable[In, M] extends AnyRef
  5. sealed trait Mandatoriable[In, S] extends AnyRef
  6. class Mandatory extends AnyRef

    Marker class to notify that a selector requires the elements it selects to be present.

  7. case class NamesBuilder[M, S](predicate: NamePredicate, strict: Boolean, mandatory: Boolean, parent: SelectorBuilder[_, _]) extends SelectorBuilder[M, S] with Product with Serializable
  8. class NotApplicable extends AnyRef

    Marker class to notify that a given selector builder capability is not applicable for this case.

  9. class Optional extends AnyRef

    Marker class to notify that a selector doesn't require the elements it selects to be present.

  10. sealed abstract class SelectorBuilder[M, S] extends AnyRef

    Selector builder exposes a DSL to build selectors in a type safe manner.

  11. class Strict extends AnyRef

    Marker class to notify that a selector requires the type of the element it is applied to to be the expected one (array or object)

Value Members

  1. def root: RootBuilder.type

    The root selector builder, selects the root of the stream, i.e.

    The root selector builder, selects the root of the stream, i.e. all tokens. This is the entry point for the selector DSL.

  2. object IndicesBuilder extends Serializable
  3. object IteratorBuilder extends Serializable
  4. object Lenientable
  5. object Mandatoriable
  6. object NamesBuilder extends Serializable
  7. case object RootBuilder extends SelectorBuilder[NotApplicable, NotApplicable] with Product with Serializable
  8. object SelectorBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped