package
matchir
Type Members
-
case class
IrBooleanNode(value: Boolean) extends IrNodePrimitive with Product with Serializable
-
case class
IrNode(label: String, value: Option[IrNodePrimitive], children: List[IrNode], ns: Option[String], attributes: IrNodeAttributes, isArray: Boolean, isXml: Boolean, path: IrNodePath) extends Product with Serializable
-
-
case class
IrNodeAttributes(attributes: Map[String, IrNodeAttribute]) extends Product with Serializable
-
case class
IrNodeDiff(message: String, path: IrNodePath) extends Product with Serializable
-
-
-
-
-
sealed
trait
IrNodePath extends AnyRef
-
-
-
-
case class
IrNodePathField(fieldName: String, parent: IrNodePath) extends IrNodePath with Product with Serializable
-
-
-
-
case class
IrNodeRegexRule(regex: String, path: IrNodePath) extends IrNodeRule with Product with Serializable
-
sealed
trait
IrNodeRule extends AnyRef
-
-
-
case class
IrNumberNode(value: Double) extends IrNodePrimitive with Product with Serializable
-
case class
IrStringNode(value: String) extends IrNodePrimitive with Product with Serializable
-
-
-
case class
RuleProcessTracing(enabled: Boolean, id: String, context: Option[String]) extends Product with Serializable
-
Value Members
-
object
IrNode extends Serializable
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
PactPath (defined in the pact standard) is JsonPath with a few tweaks to support querying XML with a nearly JsonPath-like syntax. Specific modifications to JsonPath are:
- names match to element names ($.body.animals maps to <animals>) - @names match to attribute names - #text match to the text elements
JsonPath support a ["xxx"] form which we use for to escape the @ and #. e.g. foo.bar["#text"] foo.bar['@id']