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
(NOTE: incomplete! Please submit corrections/additions via PRs!)
129
+
130
+
Different `kotlin-core` versions are supported by different Jackson Kotlin module minor versions.
131
+
Here is an incomplete list of supported versions:
132
+
133
+
* Jackson 2.15.x: Kotlin-core 1.5 - 1.8
134
+
* Jackson 2.14.x: Kotlin-core 1.4 - 1.8
135
+
* Jackson 2.13.x: Kotlin-core 1.4 - 1.7
136
+
127
137
# Annotations
128
138
129
139
You can intermix non-field values in the constructor and `JsonProperty` annotation in the constructor.
@@ -192,9 +202,12 @@ see the [inline documentation](https://github.com/FasterXML/jackson-module-kotli
192
202
for details on what options are available and what they do.
193
203
194
204
```kotlin
205
+
val kotlinModule =KotlinModule.Builder()
206
+
.enable(KotlinFeature.StrictNullChecks)
207
+
.build()
195
208
val mapper =JsonMapper.builder()
196
-
.addModule(KotlinModule(strictNullChecks =true))
197
-
.build()
209
+
.addModule(kotlinModule)
210
+
.build()
198
211
```
199
212
200
213
If your `ObjectMapper` is constructed in Java, there is a builder method
@@ -217,8 +230,10 @@ Following developers have committer access to this project.
217
230
218
231
* Author: Jayson Minard (@apatrida) wrote this module; still helps issues from time to time
219
232
* Active Maintainers:
233
+
* Dmitry Spikhalskiy (@Spikhalskiy) -- since 2.14
220
234
* Drew Stephens (@dinomite)
221
235
* Vyacheslav Artemyev (@viartemev)
236
+
* WrongWrong (@k163377) -- since 2.15
222
237
* Co-maintainers:
223
238
* Tatu Saloranta (@cowtowncoder)
224
239
@@ -246,8 +261,8 @@ See the [main Jackson contribution guidlines](https://github.com/FasterXML/jacks
246
261
247
262
If you are going to write code, choose the appropriate base branch:
248
263
249
-
-`2.12` for bugfixes against the current stable version
250
-
-`2.13` for additive functionality & features or [minor](https://semver.org), backwards compatible changes to existing behavior to be included in the next minor version release
264
+
-`2.14` for bugfixes against the current stable version
265
+
-`2.15` for additive functionality & features or [minor](https://semver.org), backwards compatible changes to existing behavior to be included in the next minor version release
251
266
-`master` for significant changes to existing behavior, which will be part of Jackson 3.0
Current status of open branches, with new releases, can be found from [Jackson Releases](https://github.com/FasterXML/jackson/wiki/Jackson-Releases)
8
+
wiki page
9
+
10
+
## Reporting a Vulnerability
11
+
12
+
The recommended mechanism for reporting possible security vulnerabilities follows
13
+
so-called "Coordinated Disclosure Plan" (see [definition of DCP](https://vuls.cert.org/confluence/display/Wiki/Coordinated+Vulnerability+Disclosure+Guidance)
14
+
for general idea). The first step is to file a [Tidelift security contact](https://tidelift.com/security):
15
+
Tidelift will route all reports via their system to maintainers of relevant package(s), and start the
16
+
process that will evaluate concern and issue possible fixes, send update notices and so on.
17
+
Note that you do not need to be a Tidelift subscriber to file a security contact.
18
+
19
+
Alternatively you may also report possible vulnerabilities to `info` at fasterxml dot com
20
+
mailing address. Note that filing an issue to go with report is fine, but if you do that please
21
+
DO NOT include details of security problem in the issue but only in email contact.
22
+
This is important to give us time to provide a patch, if necessary, for the problem.
23
+
24
+
## Verifying Artifact signatures
25
+
26
+
(for more in-depth explanation, see [Apache Release Signing](https://infra.apache.org/release-signing#keys-policy) document)
27
+
28
+
To verify that any given Jackson artifact has been signed with a valid key, have a look at `KEYS` file of the main Jackson repo:
<li><ahref="com/fasterxml/jackson/module/kotlin/PackageVersion.html" title="class in com.fasterxml.jackson.module.kotlin" target="classFrame">PackageVersion</a></li>
0 commit comments