Smithy Kotlin
Toggle table of contents
1.5.8
common
Platform filter
common
Switch theme
Skip to content
Smithy Kotlin
serde-json
/
aws.smithy.kotlin.runtime.serde.json
/
requireToken
require
Token
inline
fun
<
TExpected
>
requireToken
(
token
:
JsonToken
)
Require that the given token be of type
TExpected
or else throw an exception