File tree 1 file changed +3
-3
lines changed
spring-boot-project/spring-boot-docs/src/main/asciidoc
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2361,9 +2361,9 @@ https://github.com/FasterXML/jackson-docs/wiki/JacksonHowToCustomSerializers[reg
2361
2361
a module], but Spring Boot provides an alternative `@JsonComponent` annotation that makes
2362
2362
it easier to directly register Spring Beans.
2363
2363
2364
- You can use the `@JsonComponent` annotation directly on `JsonSerializer` or
2365
- `JsonDeserializer` implementations. You can also use it on classes that contain
2366
- serializers/deserializers as inner classes, as shown in the following example:
2364
+ You can use the `@JsonComponent` annotation directly on `JsonSerializer`,
2365
+ `JsonDeserializer` or `KeyDeserializer` implementations. You can also use it on classes
2366
+ that contain serializers/deserializers as inner classes, as shown in the following example:
2367
2367
2368
2368
[source,java,indent=0]
2369
2369
----
You can’t perform that action at this time.
0 commit comments