views:

343

answers:

1

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:

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?

Edit: Anybody uses JSON-RPC at all?

+1  A: 

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?

Every project I've found using this stuff links to the same specs that you've found. Folks are using it based on the draft specs, but not enough to really drive the development of good docs and examples.

http://javascript.neyric.com/blog/2009/03/06/inputex-022-smd-yui-rpc/

http://www.tine20.org/wiki/index.php/Developers/Concepts/Howto_connect_to_Tine_2.0_over_JSON-RPC

http://framework.zend.com/manual/en/zend.json.server.html

r-dub