DSL Builder for constructing JSON bodies
| Modifiers | Name | Description |
|---|---|---|
static java.lang.String |
ALL_LIST_ITEMS |
|
static java.lang.String |
END_LIST |
|
static java.lang.String |
PATH_SEP |
|
static java.lang.String |
STAR |
|
static java.lang.String |
START_LIST |
|
static int |
TWO |
| Fields inherited from class | Fields |
|---|---|
class BaseBuilder |
COMPACT_MIME_TYPES |
| Type | Name and description |
|---|---|
java.lang.Object |
generators |
java.lang.Object |
matchers |
java.lang.Object |
mimetype |
java.lang.Boolean |
prettyPrintBody |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.Object |
build(java.util.List array, java.lang.String path = '') |
|
java.lang.Object |
build(LikeMatcher matcher) |
|
java.lang.String |
getBody() |
|
java.lang.Object |
keyLike(java.lang.String key, java.lang.Object value)Matches the values of the map ignoring the keys. |
|
java.lang.Object |
methodMissing(java.lang.String name, java.lang.Object args) |
|
java.lang.Object |
propertyMissing(java.lang.String name) |
|
java.lang.Object |
propertyMissing(java.lang.String name, java.lang.Object value) |
| Methods inherited from class | Name |
|---|---|
class BaseBuilder |
build, call |
class Matchers |
and, bool, date, decimal, eachArrayLike, eachLike, equalTo, guid, hexValue, identifier, includesStr, integer, ipAddress, maxLike, minLike, minMaxLike, nullValue, numeric, or, real, regexp, regexp, string, time, timestamp, url, uuid |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Matches the values of the map ignoring the keys. Note: this needs the Java system property "pact.matching.wildcard" set to value "true" when the pact file is verified.