http4k / org.http4k.format / KotlinxSerialization
object KotlinxSerialization :
ConfigurableKotlinxSerialization
To implement custom JSON configuration, create your own object singleton extending ConfigurableKotlinxSerialization, passing in the JSON configuration block
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 > |