Class McpJsonParser
java.lang.Object
org.springframework.ai.mcp.annotation.method.tool.utils.McpJsonParser
Additional utilities for JSON parsing operations specific to MCP annotations and tools.
Reuses the underlying JsonMapper from
JsonParser but provides convenience
methods for converting between Maps and Java objects, which is a common pattern in MCP
tool interactions.-
Method Summary
-
Method Details
-
toMap
-
fromMap
-
fromMap
-