Question

I'm looking for viable webservice solution and I just found JSON-RPC which is seducing and seems lightweight (over XML or SOAP for example).

But I'm wondering if I'll be able to post binary DATA using json?

By the way, do you have any feedbacks using JSON-RPC and the ZEnd_Json_ServeR?

Was it helpful?

Solution

You can use base 64 encoding, uuencode or base 85. Look at this answer: Binary Data in JSON String. Something better than Base64

I'm using JSON-RPC with the Zend_Json_Server and it works fine.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top