You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/endpoints.adoc
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -383,6 +383,17 @@ management:
383
383
TIP: See javadoc:org.springframework.boot.actuate.autoconfigure.endpoint.web.CorsEndpointProperties[] for a complete list of options.
384
384
385
385
386
+
[[actuator.endpoints.json]]
387
+
== JSON
388
+
389
+
When working with JSON, Jackson is used for serialization and deserialization.
390
+
By default, an isolated javadoc:com.fasterxml.jackson.databind.ObjectMapper[] is used.
391
+
This isolation means that it does not share the same configuration as the application's `ObjectMapper` and it is not affected by `spring.jackson.*` properties.
392
+
To disable this behavior and configure Actuator to use the application's `ObjectMapper`, set configprop:management.endpoints.jackson.isolated-object-mapper[] to `false`.
393
+
Alternatively, you can define your own javadoc:org.springframework.boot.actuate.endpoint.jackson.EndpointObjectMapper[] bean that produces an `ObjectMapper` that meets your needs.
0 commit comments