fs2.data.json.Selector.NameSelector
See theNameSelector companion object
case class NameSelector(pred: NamePredicate, strict: Boolean, mandatory: Boolean) extends Selector
Selects the value in the object for which the key respects the predicate. If the currently pointed value is not an object and strict
is true
, then an error is raised, otherwise the value is skipped. If the currently pointed value is an object and mandatory
is true
, then an error is raised if the object doesn't contain all the names.
Attributes
- Companion
- object
- Source
- selectors.scala
- Graph
-
- Supertypes
Members list
In this article