سؤال

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?

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top