Commit 750d251a authored by Phillip Webb's avatar Phillip Webb

Update JsonComponent documentation

See gh-16544
parent c74badd4
...@@ -2361,9 +2361,9 @@ https://github.com/FasterXML/jackson-docs/wiki/JacksonHowToCustomSerializers[reg ...@@ -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 a module], but Spring Boot provides an alternative `@JsonComponent` annotation that makes
it easier to directly register Spring Beans. it easier to directly register Spring Beans.
You can use the `@JsonComponent` annotation directly on `JsonSerializer` or You can use the `@JsonComponent` annotation directly on `JsonSerializer`,
`JsonDeserializer` implementations. You can also use it on classes that contain `JsonDeserializer` or `KeyDeserializer` implementations. You can also use it on classes
serializers/deserializers as inner classes, as shown in the following example: that contain serializers/deserializers as inner classes, as shown in the following example:
[source,java,indent=0] [source,java,indent=0]
---- ----
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment