Pergunta

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?

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top