Introduce Jackson 3 support to AnnotationDrivenBeanDefinitionParser

See gh-33798
This commit is contained in:
Sébastien Deleuze
2025-05-13 13:40:34 +02:00
parent 0ad4fcaeaf
commit 7acd4aec38
2 changed files with 54 additions and 16 deletions

View File

@@ -73,7 +73,7 @@ public class XmlConfigTests {
this.mockMvc.perform(get("/person/5").accept(MediaType.APPLICATION_JSON))
.andDo(print())
.andExpect(status().isOk())
.andExpect(content().string("{\"name\":\"Joe\",\"someDouble\":0.0,\"someBoolean\":false}"));
.andExpect(content().string("{\"name\":\"Joe\",\"someBoolean\":false,\"someDouble\":0.0}"));
}
}