JSON-RPC and Json-rpc service discovery specifications
Posted
by Artyom
on Stack Overflow
See other posts from Stack Overflow
or by Artyom
Published on 2010-04-14T09:39:55Z
Indexed on
2010/04/18
11:43 UTC
Read the original article
Hit count: 733
Hello,
I'm going to implement JSON-PRC web service. I need specifications for this. So far I had found only one resource that can be called as real specifications:
- JSON-RPC 1.0 http://json-rpc.org/wiki/specification
- Proposal of JSON-PRC 2.0: http://groups.google.com/group/json-rpc/web/json-rpc-2-0 (why is it on google groups?)
However I've seen that JavaScript frameworks like Dojo actively use JSON-RPC SMD
But it requires JSON Schema specifications, but it redirects to incorrect URL as reference. So far I had found following:
And it is still draft...
Can anybody point me to some actual specifications... At least something official updated? Because it looks like that implementing JSON-RPC 1.0 as is may be not enough, at least for frameworks like Dojo. Or am I wrong?
Questions:
Would implementation of JSON-RPC 1.0 specifications be enough to provide JSON-RPC service for most of modern clients, and how many clients there (if at-all) that actually support beyond JSON-RPC 1.0 capabilities (SMD, Schema, 2.0)?
Because it looks like that JSON-RPC 1.0 is only one that has official specifications (and not draft)
- If I should implement SMD, or it is recommended can somebody point to official, most recent specifications of Json Schema and Service Mapping Description or links I found are really "the specifications?"
- Are JSON-RPC 2.0, SMD and JSON-Schema drafts stable enough to implement them?
Note: do not suggest existing JSON-RPC service implementations.
Anybody?
© Stack Overflow or respective owner