Add Support for Jackson 3 (#742)
This change adds Jackson 3 support and aligns package naming in the existing Jackson 2 module. Specific changes: * Deprecated classes for removal in `io.modelcontextprotocol.json.jackson`/`io.modelcontextprotocol.json.schema.jackson` * Copied the above to `io.modelcontextprotocol.json.jackson2`/`io.modelcontextprotocol.json.schema.jackson2` in non-deprecated form. * Added tests for the default McpJsonMapper and JsonSchemaValidator
This commit is contained in:
parent
af65356416
commit
2456a0e433
1 changed files with 2487 additions and 21 deletions
|
|
@ -11,7 +11,7 @@
|
|||
<artifactId>mcp-json-jackson2</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Java MCP SDK JSON Jackson</name>
|
||||
<description>Java MCP SDK JSON implementation based on Jackson</description>
|
||||
<description>Java MCP SDK JSON implementation based on Jackson 2</description>
|
||||
<url>https://github.com/modelcontextprotocol/java-sdk</url>
|
||||
<scm>
|
||||
<url>https://github.com/modelcontextprotocol/java-sdk</url>
|
||||
|
|
@ -42,12 +42,12 @@
|
|||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-databind</artifactId>
|
||||
<version>${jackson.version}</version>
|
||||
<version>${jackson2.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.networknt</groupId>
|
||||
<artifactId>json-schema-validator</artifactId>
|
||||
<version>${json-schema-validator.version}</version>
|
||||
<version>${json-schema-validator-jackson2.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
|
|
|||
Loading…
Reference in a new issue