Make McpJson public to allow flexible protocol development (#103)
This commit is contained in:
parent
fb568bbcab
commit
5fa378c49d
1 changed files with 1 additions and 2 deletions
|
|
@ -25,8 +25,7 @@ internal const val IMPLEMENTATION_NAME = "mcp-ktor"
|
||||||
public typealias ProgressCallback = (Progress) -> Unit
|
public typealias ProgressCallback = (Progress) -> Unit
|
||||||
|
|
||||||
@OptIn(ExperimentalSerializationApi::class)
|
@OptIn(ExperimentalSerializationApi::class)
|
||||||
@PublishedApi
|
public val McpJson: Json by lazy {
|
||||||
internal val McpJson: Json by lazy {
|
|
||||||
Json {
|
Json {
|
||||||
ignoreUnknownKeys = true
|
ignoreUnknownKeys = true
|
||||||
encodeDefaults = true
|
encodeDefaults = true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue