From 750d251ae84c5aae033c98baaaefde9100c8aab5 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Mon, 3 Jun 2019 12:06:46 -0700 Subject: [PATCH] Update JsonComponent documentation See gh-16544 --- .../src/main/asciidoc/spring-boot-features.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 8e67dfa244..dba67be258 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -2361,9 +2361,9 @@ https://github.com/FasterXML/jackson-docs/wiki/JacksonHowToCustomSerializers[reg a module], but Spring Boot provides an alternative `@JsonComponent` annotation that makes it easier to directly register Spring Beans. -You can use the `@JsonComponent` annotation directly on `JsonSerializer` or -`JsonDeserializer` implementations. You can also use it on classes that contain -serializers/deserializers as inner classes, as shown in the following example: +You can use the `@JsonComponent` annotation directly on `JsonSerializer`, +`JsonDeserializer` or `KeyDeserializer` implementations. You can also use it on classes +that contain serializers/deserializers as inner classes, as shown in the following example: [source,java,indent=0] ----