Skip to content

Commit bcad276

Browse files
committed
Fix Jackson documentation broken links
Closes gh-23153
1 parent bd568ea commit bcad276

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

spring-web/src/main/java/org/springframework/http/codec/json/Jackson2CodecSupport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public abstract class Jackson2CodecSupport {
5252
/**
5353
* The key for the hint to specify a "JSON View" for encoding or decoding
5454
* with the value expected to be a {@link Class}.
55-
* @see <a href="https://wiki.fasterxml.com/JacksonJsonViews">Jackson JSON Views</a>
55+
* @see <a href="https://www.baeldung.com/jackson-json-view-annotation">Jackson JSON Views</a>
5656
*/
5757
public static final String JSON_VIEW_HINT = Jackson2CodecSupport.class.getName() + ".jsonView";
5858

spring-web/src/main/java/org/springframework/http/converter/json/MappingJackson2HttpMessageConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
/**
2828
* Implementation of {@link org.springframework.http.converter.HttpMessageConverter} that can read and
29-
* write JSON using <a href="https://wiki.fasterxml.com/JacksonHome">Jackson 2.x's</a> {@link ObjectMapper}.
29+
* write JSON using <a href="https://github.com/FasterXML/jackson">Jackson 2.x's</a> {@link ObjectMapper}.
3030
*
3131
* <p>This converter can be used to bind to typed beans, or untyped {@code HashMap} instances.
3232
*

spring-webmvc/src/main/java/org/springframework/web/servlet/view/json/MappingJackson2JsonView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
/**
3737
* Spring MVC {@link View} that renders JSON content by serializing the model for the current request
38-
* using <a href="https://wiki.fasterxml.com/JacksonHome">Jackson 2's</a> {@link ObjectMapper}.
38+
* using <a href="https://github.com/FasterXML/jackson">Jackson 2's</a> {@link ObjectMapper}.
3939
*
4040
* <p>By default, the entire contents of the model map (with the exception of framework-specific classes)
4141
* will be encoded as JSON. If the model contains only one key, you can have it extracted encoded as JSON

spring-webmvc/src/main/java/org/springframework/web/servlet/view/xml/MappingJackson2XmlView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
/**
3232
* Spring MVC {@link View} that renders XML content by serializing the model for the current request
33-
* using <a href="https://wiki.fasterxml.com/JacksonHome">Jackson 2's</a> {@link XmlMapper}.
33+
* using <a href="https://github.com/FasterXML/jackson">Jackson 2's</a> {@link XmlMapper}.
3434
*
3535
* <p>The Object to be serialized is supplied as a parameter in the model. The first serializable
3636
* entry is used. Users can either specify a specific entry in the model via the

src/docs/asciidoc/integration.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1257,7 +1257,7 @@ and writes the media type supported by the Java I/O API.
12571257
[[rest-template-jsonview]]
12581258
===== Jackson JSON Views
12591259

1260-
You can specify a https://wiki.fasterxml.com/JacksonJsonViews[Jackson JSON View]
1260+
You can specify a https://www.baeldung.com/jackson-json-view-annotation[Jackson JSON View]
12611261
to serialize only a subset of the object properties, as the following example shows:
12621262

12631263
====

src/docs/asciidoc/web/webflux-functional.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ ServerResponse.created(location).build();
183183
====
184184

185185
Depending on the codec used, it is possible to pass hint parameters to customize how the
186-
body is serialized or deserialized. For example, to specify a https://wiki.fasterxml.com/JacksonJsonViews[Jackson JSON view]:
186+
body is serialized or deserialized. For example, to specify a https://www.baeldung.com/jackson-json-view-annotation[Jackson JSON view]:
187187

188188
====
189189
[source,java]

src/docs/asciidoc/web/webflux.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2459,7 +2459,7 @@ Spring offers support for the Jackson JSON library.
24592459
[.small]#<<web.adoc#mvc-ann-jackson, Same as in Spring MVC>>#
24602460

24612461
Spring WebFlux provides built-in support for
2462-
https://wiki.fasterxml.com/JacksonJsonViews[Jackson's Serialization Views],
2462+
https://www.baeldung.com/jackson-json-view-annotation[Jackson's Serialization Views],
24632463
which allows rendering only a subset of all fields in an `Object`. To use it with
24642464
`@ResponseBody` or `ResponseEntity` controller methods, you can use Jackson's
24652465
`@JsonView` annotation to activate a serialization view class, as the following example shows:

src/docs/asciidoc/web/webmvc.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2789,7 +2789,7 @@ Spring offers support for the Jackson JSON library.
27892789
[.small]#<<web-reactive.adoc#webflux-ann-jsonview, Same as in Spring WebFlux>>#
27902790

27912791
Spring MVC provides built-in support for
2792-
https://wiki.fasterxml.com/JacksonJsonViews[Jackson's Serialization Views],
2792+
https://www.baeldung.com/jackson-json-view-annotation[Jackson's Serialization Views],
27932793
which allow rendering only a subset of all fields in an `Object`. To use it with
27942794
`@ResponseBody` or `ResponseEntity` controller methods, you can use Jackson's
27952795
`@JsonView` annotation to activate a serialization view class, as the following example shows:

0 commit comments

Comments
 (0)