NameSelector

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
trait Serializable
trait Product
trait Equals
trait Selector
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product