批注接口 AutoConfigureJsonTesters
@Target(TYPE)
@Retention(RUNTIME)
@Documented
@Inherited
@AutoConfigureJson
@ImportAutoConfiguration
@PropertyMapping("spring.test.jsontesters")
public @interface AutoConfigureJsonTesters
Annotation that can be applied to a test class to enable and configure
auto-configuration of JSON testers.
- 从以下版本开始:
- 1.4.0
- 作者:
- Phillip Webb
-
可选元素概要
可选元素修饰符和类型可选元素说明boolean
-
元素详细资料
-
enabled
boolean enabledIfBasicJsonTester
,JacksonTester
,JsonbTester
andGsonTester
beans should be registered. Defaults totrue
.- 返回:
- if tester support is enabled
- 默认值:
true
-