NamesBuilder

case class NamesBuilder[M, S](predicate: NamePredicate, strict: Boolean, mandatory: Boolean, parent: SelectorBuilder[_, _]) extends SelectorBuilder[M, S]
Companion:
object
trait Serializable
trait Product
trait Equals
class SelectorBuilder[M, S]
class Object
trait Matchable
class Any

Value members

Concrete methods

Inherited methods

def field(f: String): NamesBuilder[Optional, Strict]

Creates a field selector, that will select only the element at the given field in the currently selected object. The resulting selector is strict and will fail if the element is not an object.

Creates a field selector, that will select only the element at the given field in the currently selected object. The resulting selector is strict and will fail if the element is not an object.

Inherited from:
SelectorBuilder
def fields(f: String, fs: String*): NamesBuilder[Optional, Strict]

Creates a fields selector, that will select only the element at the given fields in the currently selected object. The resulting selector is strict and will fail if the element is not an object.

Creates a fields selector, that will select only the element at the given fields in the currently selected object. The resulting selector is strict and will fail if the element is not an object.

Inherited from:
SelectorBuilder

Creates an index selector, that will select only the element at the given index in the currently selected array. The resulting selector is strict and will fail if the element is not an array.

Creates an index selector, that will select only the element at the given index in the currently selected array. The resulting selector is strict and will fail if the element is not an array.

Inherited from:
SelectorBuilder
def indices(i: Int, is: Int*): IndicesBuilder[Strict]

Creates an indices selector, that will select only the elements at the given indices in the currently selected array. The resulting selector is strict and will fail if the element is not an array.

Creates an indices selector, that will select only the elements at the given indices in the currently selected array. The resulting selector is strict and will fail if the element is not an array.

Inherited from:
SelectorBuilder

Creates an iterator selector, that will enumerate all elements in the currently selected array or object. The resulting selector is strict and will fail if the element is not an array or an object.

Creates an iterator selector, that will enumerate all elements in the currently selected array or object. The resulting selector is strict and will fail if the element is not an array or an object.

Inherited from:
SelectorBuilder
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def range(start: Int, end: Int): IndicesBuilder[Strict]

Creates a range selector, that will select only the elements between the given indices in the currently selected array. The resulting selector is strict and will fail if the element is not an array.

Creates a range selector, that will select only the elements between the given indices in the currently selected array. The resulting selector is strict and will fail if the element is not an array.

Inherited from:
SelectorBuilder