NameSelector

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.

Companion:
object
trait Serializable
trait Product
trait Equals
trait Selector
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product