JSON Matchers for unit tests
Provides:
encodesToJson()
matcher which checks if the value encodes to expected JSONisJson()
matcher which checks if the string is expected JSON
See the example for more details.
Provides:
encodesToJson()
matcher which checks if the value encodes to expected JSONisJson()
matcher which checks if the string is expected JSONSee the example for more details.