Date: | 2007-12-24 |
---|---|
Author: | Roland Koebler (r dot koebler at yahoo dot de) |
The most important differences are:
Transport independence: This specification is transport-independent, so you can use any transport you like. This removes much of the complexity of the 1.1WD. (1.1WD required HTTP.)
Request:
Notifications: Notifications still exist (like in 1.0). Every Request with an id of Null is a notification. (1.1WD removed Notifications.)
Parameter cleanup:
Response: - result, error: both are always required. - id: required - version: removed
Error Object cleanup: The name member was removed, because it does not provide any information. The error-codes were defined.
Service Description: Use different service descriptions than 1.1WD, and describe them in a separate specification.
Member Sequence removed: No special member sequence is necessary. (1.1WD suggested the members of the JSON-RPC-object to be in a specific order, and allowed the server to refuse requests which do not stick to this order.)
No magic: Procedure Call Parity and Call Approximation were removed in this specification. A Service must be called exactly as specified. The server must not "guess".