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
@@ -42,28 +44,15 @@ Following table shows the tested working ranges for recent module versions.
42
44
43
45
Notes:
44
46
45
-
* At the point of testing, `31.1-jre` was the latest available Guava library
47
+
* At the point of testing of 2.14 - 2.19,, `31.1-jre` was the latest available Guava library
46
48
version, so all versions work with the latest Guava
47
49
* "Min Guava" means the earliest version that integration tests pass with
48
50
* "Default Guava" is the dependency specified in module's `pom.xml`: it is used for build, unit tests
49
51
* Build (compilation, running of unit tests) works on a subset of specified compatibility range: typically version needed is above "Min Guava", but lower than "Max Guava"
50
52
51
53
### Registering module
52
54
53
-
Like all standard Jackson modules (libraries that implement Module interface), registration is done as follows (Jackson 2.x up to 2.9)
54
-
55
-
```java
56
-
// New (2.10+)
57
-
ObjectMapper mapper =JsonMapper.builder()
58
-
.addModule(newGuavaModule())
59
-
.build();
60
-
61
-
// Old (before 2.10, but works on all 2.x)
62
-
ObjectMapper mapper =newObjectMapper()
63
-
.registerModule(newGuavaModule());
64
-
```
65
-
66
-
OR, the new method added in 2.10 (old method will work with 2.x but not 3.x):
55
+
Like all standard Jackson modules (libraries that implement Module interface), registration is done as follows:
0 commit comments