JsonContentAssert

constructor(resourceLoadClass: Class<out Any>, json: CharSequence)

Create a new JsonContentAssert instance that will load resources as UTF-8.

Parameters

resourceLoadClass

the source class used to load resources

json

the actual JSON content


constructor(resourceLoadClass: Class<out Any>, charset: Charset, json: CharSequence)

Create a new JsonContentAssert instance that will load resources in the given charset.

Since

1.4.1

Parameters

resourceLoadClass

the source class used to load resources

charset

the charset of the JSON resources

json

the actual JSON content