fs2.data.json.selector
package 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
object IndicesBuilder
Attributes
- Companion:
- class
- Source:
- dsl.scala
- Graph
- Supertypes
- Self type
- IndicesBuilder.type
case class IteratorBuilder[S](strict: Boolean, parent: SelectorBuilder[_, _]) extends SelectorBuilder[NotApplicable, S]
Attributes
object IteratorBuilder
Attributes
- Companion:
- class
- Source:
- dsl.scala
- Graph
- Supertypes
- Self type
- IteratorBuilder.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)
object Lenientable
Attributes
- Companion:
- trait
- Source:
- dsl.scala
- Graph
- Supertypes
- Self type
- Lenientable.type
object Mandatoriable
Attributes
- Companion:
- trait
- Source:
- dsl.scala
- Graph
- Supertypes
- Self type
- Mandatoriable.type
class Mandatory
case class NamesBuilder[M, S](predicate: NamePredicate, strict: Boolean, mandatory: Boolean, parent: SelectorBuilder[_, _]) extends SelectorBuilder[M, S]
Attributes
object NamesBuilder
Attributes
- Companion:
- class
- Source:
- dsl.scala
- Graph
- Supertypes
- Self type
- NamesBuilder.type
class NotApplicable
class Optional
Attributes
- Source:
- dsl.scala
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
- Self type
- RootBuilder.type
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
object SelectorBuilder
Attributes
- Companion:
- class
- Source:
- dsl.scala
- Graph
- Supertypes
- Self type
- SelectorBuilder.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)
Value members
Concrete methods
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