Class JacksonMcpJsonMapperSupplier
java.lang.Object
io.modelcontextprotocol.json.jackson.JacksonMcpJsonMapperSupplier
- All Implemented Interfaces:
McpJsonMapperSupplier,Supplier<McpJsonMapper>
@Deprecated(forRemoval=true,
since="18.0.0")
public class JacksonMcpJsonMapperSupplier
extends Object
implements McpJsonMapperSupplier
Deprecated, for removal: This API element is subject to removal in a future version.
A supplier of
McpJsonMapper instances that uses the Jackson library for JSON
serialization and deserialization.
This implementation provides a McpJsonMapper backed by a Jackson
ObjectMapper.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionget()Deprecated, for removal: This API element is subject to removal in a future version.Returns a new instance ofMcpJsonMapperthat uses the Jackson library for JSON serialization and deserialization.
-
Constructor Details
-
JacksonMcpJsonMapperSupplier
public JacksonMcpJsonMapperSupplier()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
get
Deprecated, for removal: This API element is subject to removal in a future version.Returns a new instance ofMcpJsonMapperthat uses the Jackson library for JSON serialization and deserialization.The returned
McpJsonMapperis backed by a new instance ofObjectMapper.- Specified by:
getin interfaceSupplier<McpJsonMapper>- Returns:
- a new
McpJsonMapperinstance
-
JacksonMcpJsonMapperSupplierinstead. Will be removed in 19.0.0.