MCP Kotlin SDK
Toggle table of contents
0.8.1
common
Target filter
common
Switch theme
Search in API
Skip to content
MCP Kotlin SDK
kotlin-sdk-core
/
io.modelcontextprotocol.kotlin.sdk.types
/
fromJSON
from
JSON
fun
JSONRPCRequest
.
fromJSON
(
)
:
Request
(
source
)
Decodes a JSON-RPC request into a protocol-specific
Request
.
Return
The decoded
Request