Add errorSince information for deprecation for BotConfiguration.json

This commit is contained in:
Him188 2022-04-25 15:50:46 +01:00
parent d757764308
commit acb048c267

View File

@ -67,7 +67,7 @@ public open class BotConfiguration { // open for Java
"Changing serial format is going to be forbidden. Deprecated for removal. ",
level = DeprecationLevel.ERROR
)
@DeprecatedSinceMirai("")
@DeprecatedSinceMirai(errorSince = "2.11") // was experimental
public var json: Json = kotlin.runCatching {
Json {
isLenient = true