I was looking for an HTTP based JSON-RPC client that easily hooked into Zend_Json_Server. At first, I thought it might already be included as part of Zend_Http_Client, but I couldn't find anything specifically for it. The core of it seems trivial in nature, though I'd suspect one would want the same results as Zend_Soap_Client and Zend_Rest_Client.
I have attached an example of Zend_Json_Client. Pretty bare bones stuff which relies on __call(), Zend_Json, and Zend_Http_Client to accomplish simple tasks such as:
$client = new Zend_Json_Client($jsonRpcUri); $result = $client->getSqrt(9.0); echo $result; // 3.0
I apologize if this has already been done elsewhere and my research missed it. I just thought it would be nice to have a JSON-RPC as a local interface experience.