JsPattern

object JsPattern
Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

case class Path(value: List[PathElement])
case class Variable(name: String, pattern: JsPattern)

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def ObjPattern(fields: (String, Variable)*): ObjPattern
def Path(path: String): Path
def parsePattern(string: String): JsPattern
def simplePath(path: String): Path
def test(pat: JsPattern, js: JsValue): (Boolean, Map[String, Any])
def unapplySeq(pat: JsPattern, js: JsValue): Option[List[Any]]