[rabbitmq-discuss] JSonRPC Encoding

Mysurf Mail stammailbox at gmail.com
Mon Oct 31 13:46:38 GMT 2011


Hi,
Thanks.
I am using Gson (google).

When I Gson in the client side - it passes to a correct json string .
then I send it through the interface of jsomRpc Client server and in the
server side the string is with squares.

gsoning alone works fine in the client side.
Again,
thank you for your time.

On Mon, Oct 31, 2011 at 1:32 PM, Emile Joubert <emile at rabbitmq.com> wrote:

> Hi,
>
> On 31/10/11 13:19, Mysurf Mail wrote:
> > Thanks for the answer.
> > Any suggestions how  should I  do some further  investigations?
> > Thank you
>
> I seem to recall that you were using a different JSON library than the
> one provided in the com.rabbitmq.tools.json namespace. If that is the
> case then you should check the documentation of your library. RFC4627
> supports any Unicode encoding, defaulting to UTF-8.
>
> If you are using the default JSON code in com.rabbitmq.tools.json
> namespace then you only have the option of using UTF-8. JsonRpcServer is
> based on StringRpcServer which only supports UTF-8.
>
>
> -Emile
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20111031/8e2696e3/attachment.htm>


More information about the rabbitmq-discuss mailing list