http4k / org.http4k.format / Gson
object Gson :
ConfigurableGson
To implement custom JSON configuration, create your own object singleton. Extra mappings can be added before done() is called.
Name | Summary |
---|---|
hasBody | fun <NODE> Json <NODE>.hasBody(expected: NODE): Matcher< HttpMessage > fun <NODE> Json <NODE>.hasBody(expected: Matcher<NODE>): Matcher< HttpMessage > fun <NODE> Json <NODE>.hasBody(expected: String ): Matcher< HttpMessage > |
haveBody | fun <NODE> Json <NODE>.haveBody(expected: NODE): Matcher< HttpMessage > fun <NODE> Json <NODE>.haveBody(expected: Matcher<NODE>): Matcher< HttpMessage > fun <NODE> Json <NODE>.haveBody(expected: String ): Matcher< HttpMessage > |