This is an automated email from the ASF dual-hosted git repository.
pjfanning pushed a commit to branch 1.4.x
in repository https://gitbox.apache.org/repos/asf/pekko-http.git
The following commit(s) were added to refs/heads/1.4.x by this push:
new 96fe508fb link to jackson docs in pekko core (#1143) (#1147)
96fe508fb is described below
commit 96fe508fb4a5b173f4600f4ad5e7d0f61f26ef67
Author: PJ Fanning <[email protected]>
AuthorDate: Fri Jul 10 13:33:38 2026 +0100
link to jackson docs in pekko core (#1143) (#1147)
---
docs/src/main/paradox/common/json-support.md | 3 +++
1 file changed, 3 insertions(+)
diff --git a/docs/src/main/paradox/common/json-support.md
b/docs/src/main/paradox/common/json-support.md
index f3ab1bf83..4a428dbe0 100644
--- a/docs/src/main/paradox/common/json-support.md
+++ b/docs/src/main/paradox/common/json-support.md
@@ -20,6 +20,9 @@ To make use of the support module for (un)marshalling from
and to JSON with [Jac
version="PekkoHttpVersion"
}
+It is recommended that you read the
@extref[pekko-serialization-jackson](pekko-docs:serialization-jackson.html)
docs and in particular, the Security concerns.
+Pekko HTTP Jackson support also strongly discourages the use of `JsonTypeInfo`
with `Id.CLASS` or `Id.MINIMAL_CLASS`. Use `Id.NAME` or another of the safe
options.
+
Use
`org.apache.pekko.http.javadsl.marshallers.jackson.Jackson.unmarshaller(T.class)`
to create an @apidoc[Unmarshaller[HttpEntity,T]] which expects the request
body (HttpEntity) to be of type `application/json` and converts it to `T`
using Jackson.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]