validate

fun validate(convention: JsonRpcContextConvention, wireKeys: Collection<String>)

Validates the given wire keys against the convention. For RootSiblings, throws IllegalArgumentException if any wireKey collides with a reserved JSON-RPC field.