public class JsonAssertion extends Object
JsonVerifiable| Modifier and Type | Method and Description |
|---|---|
static JsonVerifiable |
assertThat(com.jayway.jsonpath.DocumentContext parsedJson)
Starts assertions for the JSON provided as
DocumentContext |
static JsonVerifiable |
assertThat(String body)
Starts assertions for the JSON provided as
String |
static JsonVerifiable |
assertThatJson(com.jayway.jsonpath.DocumentContext parsedJson)
Helper method so that there are no clashes with other static methods of that name
|
static JsonVerifiable |
assertThatJson(String body)
Helper method so that there are no clashes with other static methods of that name
|
public static JsonVerifiable assertThat(String body)
Stringpublic static JsonVerifiable assertThat(com.jayway.jsonpath.DocumentContext parsedJson)
DocumentContextpublic static JsonVerifiable assertThatJson(String body)
assertThat(String)public static JsonVerifiable assertThatJson(com.jayway.jsonpath.DocumentContext parsedJson)
assertThat(DocumentContext)Copyright © 2015–2023. All rights reserved.