rpc: Be more explicit about ignoring JSON fields

This commit is contained in:
Ian Jackson 2023-03-24 17:50:15 +00:00
parent 657c02c1ce
commit e52b9ff9b6
1 changed files with 4 additions and 1 deletions

View File

@ -153,10 +153,13 @@ and the names and types of the parameters `params`.
and the expected contents of the successful `result`.
Unrecognized parameters must be ignored.
Indeed, any unrecognized fields in a JSON object must be ignored,
both by the server and by the client.
Invalid JSON
and parameter values that do not match their specified types
will be treated as an error.
must be treated as an error,
both by the server and by the client.
## Data Streams