pnoe

Results 4 comments of pnoe

In the same page if I add `` Then the iterable "ruchers" display is fine : `[RucherMap[id=2623, depot=false, nom=Riez-272, longitude=6.0708833,...` It appears that the problem is only for th:inline javascript.

As a workaround, doing the json mapping in java is working : ``` final ObjectMapper objectMapper = JsonMapper.builder().build(); model.addAttribute(Const.RUCHERS, objectMapper.writeValueAsString(ruchers)); ```

Or rather add Jackson 2 to maven pom : ``` org.springframework.boot spring-boot-jackson2 ``` as documented here : https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-4.0-Migration-Guide#jackson-2-compatibility

Thanks, update done, with k ([K]eep previous config). Very easy !