T - the source type that created the contentpublic final class JsonContent<T> extends Object implements org.assertj.core.api.AssertProvider<JsonContentAssert>
provide JsonContentAssert to AssertJ assertThat
 calls.| Constructor and Description | 
|---|
JsonContent(Class<?> resourceLoadClass,
           org.springframework.core.ResolvableType type,
           String json)
Create a new  
JsonContent instance. | 
| Modifier and Type | Method and Description | 
|---|---|
JsonContentAssert | 
assertThat()
Deprecated. 
 
in favor of AssertJ's  
assertThat | 
String | 
getJson()
Return the actual JSON content string. 
 | 
String | 
toString()  | 
public JsonContent(Class<?> resourceLoadClass, org.springframework.core.ResolvableType type, String json)
JsonContent instance.resourceLoadClass - the source class used to load resourcestype - the type under test (or null if not known)json - the actual JSON content@Deprecated public JsonContentAssert assertThat()
assertThatassertThat
 instead.assertThat in interface org.assertj.core.api.AssertProvider<JsonContentAssert>public String getJson()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.