isEqualToJson

Verifies that the actual value is leniently equal
to the specified JSON. The expected value can contain the JSON itself or,
if it ends with .json, the name of a resource to be loaded using
resourceLoadClass.

Parameters:

expected - the expected JSON or the name of a resource containing the expected
JSON

Returns:

this assertion object

Throws:

AssertionError - if the actual JSON value is not equal to the given one

isStrictlyEqualToJson

Verifies that the actual value is strictly equal to
the specified JSON. The expected value can contain the JSON itself or, if
it ends with .json, the name of a resource to be loaded using
resourceLoadClass.

Parameters:

expected - the expected JSON or the name of a resource containing the expected
JSON

Returns:

this assertion object

Throws:

AssertionError - if the actual JSON value is not equal to the given one

isNotEqualToJson

Verifies that the actual value is not leniently
equal to the specified JSON. The expected value can contain the JSON itself
or, if it ends with .json, the name of a resource to be loaded using
resourceLoadClass.

Parameters:

expected - the expected JSON or the name of a resource containing the expected
JSON

isNotStrictlyEqualToJson

Verifies that the actual value is not strictly equal
to the specified JSON. The expected value can contain the JSON itself or,
if it ends with .json, the name of a resource to be loaded using
resourceLoadClass.

Parameters:

expected - the expected JSON or the name of a resource containing the expected
JSON

isNotEqualToJson

Verifies that the actual value is not equal to the specified JSON. The
expected value can contain the JSON itself or, if it ends with
.json, the name of a resource to be loaded using resourceLoadClass.

Parameters:

expected - the expected JSON or the name of a resource containing the expected
JSON

isNotEqualToJson

Verifies that the actual value is not equal to the specified JSON. The
expected value can contain the JSON itself or, if it ends with
.json, the name of a resource to be loaded using resourceLoadClass.

Parameters:

expected - the expected JSON or the name of a resource containing the expected
JSON