fs2.data.json.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

Attributes

Members list

Type members

Classlikes

case class IndicesBuilder[S](predicate: IndexPredicate, strict: Boolean, parent: SelectorBuilder[_, _]) extends SelectorBuilder[NotApplicable, S]

Attributes

Companion
object
Source
dsl.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
dsl.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class IteratorBuilder[S](strict: Boolean, parent: SelectorBuilder[_, _]) extends SelectorBuilder[NotApplicable, S]

Attributes

Companion
object
Source
dsl.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
dsl.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
class Lenient

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)

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)

Attributes

Source
dsl.scala
Supertypes
class Object
trait Matchable
class Any
sealed trait Lenientable[In, M]

Attributes

Companion
object
Source
dsl.scala
Supertypes
class Object
trait Matchable
class Any
object Lenientable

Attributes

Companion
trait
Source
dsl.scala
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait Mandatoriable[In, S]

Attributes

Companion
object
Source
dsl.scala
Supertypes
class Object
trait Matchable
class Any
object Mandatoriable

Attributes

Companion
trait
Source
dsl.scala
Supertypes
class Object
trait Matchable
class Any
Self type
class Mandatory

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

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

Attributes

Source
dsl.scala
Supertypes
class Object
trait Matchable
class Any
case class NamesBuilder[M, S](predicate: NamePredicate, strict: Boolean, mandatory: Boolean, parent: SelectorBuilder[_, _]) extends SelectorBuilder[M, S]

Attributes

Companion
object
Source
dsl.scala
Supertypes
trait Serializable
trait Product
trait Equals
class SelectorBuilder[M, S]
class Object
trait Matchable
class Any
Show all
object NamesBuilder

Attributes

Companion
class
Source
dsl.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

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

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

Attributes

Source
dsl.scala
Supertypes
class Object
trait Matchable
class Any
class Optional

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

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

Attributes

Source
dsl.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
dsl.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
sealed abstract class SelectorBuilder[M, S]

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

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

Attributes

Companion
object
Source
dsl.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class IndicesBuilder[S]
class IteratorBuilder[S]
class NamesBuilder[M, S]
object RootBuilder.type

Attributes

Companion
class
Source
dsl.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
class Strict

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)

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)

Attributes

Source
dsl.scala
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

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.

Attributes

Source
package.scala