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

Concise view

Type members

Classlikes

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

Attributes

Companion:
object
Source:
dsl.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
dsl.scala
Graph
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
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
dsl.scala
Graph
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
Graph
Supertypes
class Object
trait Matchable
class Any
sealed trait Lenientable[In, M]

Attributes

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

Attributes

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

Attributes

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

Attributes

Companion:
trait
Source:
dsl.scala
Graph
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
Graph
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
Graph
Supertypes
trait Product
trait Equals
class SelectorBuilder[M, S]
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
dsl.scala
Graph
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
Graph
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
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Source:
dsl.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Object
trait Matchable
class Any
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
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class NamesBuilder[M, S]
object RootBuilder.type

Attributes

Companion:
class
Source:
dsl.scala
Graph
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
Graph
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. all tokens. This is the entry point for the selector DSL.

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