params

abstract val params: JsonElement?

A Structured value that holds the parameter values to be used during the invocation of the method. This member MAY be omitted.

Note: Per the JSON RPC 2.0 specification, this value MUST be either a kotlinx.serialization.json.JsonObject or a kotlinx.serialization.json.JsonArray when present. Passing other JsonElement subtypes (e.g. kotlinx.serialization.json.JsonPrimitive) produces technically non-conformant messages; the library does not enforce this constraint at runtime.