mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-16 18:04:52 +00:00
[docs] clients need to add jackson-databind (#21527)
With ES 5.0 we do not include Jackson Databind anymore with ES core. This commit updates our docs to state that users need to add this artifact now in their projects.
This commit is contained in:
parent
30d342c87c
commit
9d3d6c5409
@ -60,8 +60,9 @@ json.put("message","trying out Elasticsearch");
|
||||
[[java-docs-index-generate-beans]]
|
||||
===== Serialize your beans
|
||||
|
||||
Elasticsearch already uses http://wiki.fasterxml.com/JacksonHome[Jackson].
|
||||
So you can use it to serialize your beans to JSON:
|
||||
You can use http://wiki.fasterxml.com/JacksonHome[Jackson] to serialize
|
||||
your beans to JSON. Please add http://search.maven.org/#search%7Cga%7C1%7Cjackson-databind[Jackson Databind]
|
||||
to your project. Then you can use `ObjectMapper` to serialize your beans:
|
||||
|
||||
[source,java]
|
||||
--------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user