JsonContent

class JsonContent<T> : AssertProvider<A>

JSON content usually created from a JSON tester. Generally used only to provideJsonContentAssert to AssertJ assertThat calls.

Author

Phillip Webb

Diego Berrueta

Since

1.4.0

Parameters

<T>

the source type that created the content

Constructors

Link copied to clipboard
constructor(resourceLoadClass: Class<out Any>, type: ResolvableType, json: String)
Create a new JsonContent instance.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Use AssertJ's assertThat instead.
Link copied to clipboard
open fun toString(): String