~/talk

Action Jackson! Effective JSON processing in Spring Boot Applications

Talkat Spring I/O 2023 · 2023-05-18..05-19· [java, developer-experience]
slides:none on file

Shows concrete Jackson plus Spring Boot behaviors: creating a raw ObjectMapper bean breaks Boot auto-configuration and removes modules like parameter names module and JSR-310 support; Boot otherwise registers jdk8, jsr310 and parameter-names modules and sets fail-on-unknown-properties to false. Demonstrates using ObjectMapperBuilderCustomizer, per-endpoint builders, property-naming strategies, JsonPointer/JsonPath extraction, JacksonTester slice tests, and a production custom serializer to truncate OffsetDateTime to seconds. Warns to reuse ObjectMappers for performance; demos all run successfully.

AI-written summary · about

  1. 0:00Jackson in Spring Boot
  2. 10:19Default Jackson config
  3. 15:12Jackson features and modules
  4. 22:53JSON naming and serialization
  5. 26:03ObjectMapperBuilderCustomizer tuning
  6. 30:17Parameter names module and records
  7. 33:27Testing JSON with Spring Boot slices
  8. 35:54Alternative JSON with Maps and JsonNode
  9. 42:19JSON views for selective fields
  10. 45:07Best practices for JSON
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.