|
1 | | -// Copyright (c) 2018 Pivotal Software, Inc. All rights reserved. |
| 1 | +// Copyright (c) 2018-2019 Pivotal Software, Inc. All rights reserved. |
2 | 2 | // |
3 | 3 | // This software, the RabbitMQ Java client library, is triple-licensed under the |
4 | 4 | // Mozilla Public License 1.1 ("MPL"), the GNU General Public License version 2 |
|
15 | 15 |
|
16 | 16 | package com.rabbitmq.tools.jsonrpc; |
17 | 17 |
|
18 | | -import com.fasterxml.jackson.core.JsonFactory; |
19 | | -import com.fasterxml.jackson.core.JsonParser; |
20 | | -import com.fasterxml.jackson.core.JsonProcessingException; |
21 | | -import com.fasterxml.jackson.core.JsonToken; |
22 | | -import com.fasterxml.jackson.core.TreeNode; |
| 18 | +import com.fasterxml.jackson.core.*; |
23 | 19 | import com.fasterxml.jackson.databind.MappingJsonFactory; |
24 | 20 | import com.fasterxml.jackson.databind.ObjectMapper; |
25 | 21 | import com.fasterxml.jackson.databind.node.ValueNode; |
|
34 | 30 |
|
35 | 31 | /** |
36 | 32 | * {@link JsonRpcMapper} based on Jackson. |
37 | | - * Uses the streaming and databind modules. |
| 33 | + * <p> |
| 34 | + * Uses the streaming and databind modules. You need to add the appropriate dependency |
| 35 | + * to the classpath if you want to use this class, as the RabbitMQ Java client |
| 36 | + * library does not pull Jackson automatically when using a dependency management |
| 37 | + * tool like Maven or Gradle. |
| 38 | + * <p> |
| 39 | + * Make sure to use the latest version of the Jackson library, as the version used in the |
| 40 | + * RabbitMQ Java client can be a little bit behind. |
38 | 41 | * |
39 | 42 | * @see JsonRpcMapper |
40 | 43 | * @since 4.8.0 |
|
0 commit comments