[rabbitmq-discuss] problems with parameters in jsonrpc

mysurf mail stammailbox at gmail.com
Wed Mar 23 15:33:55 GMT 2011

Not all were serializable but - all were jsonable .
I thought the parameters go through json serializing.

with json serialization you can serialize and deserialize when some clients
have newer object and some older instances of an object. so we use gson.

now i wrote the program so it gson-serialize an object and then send its
strings between the machines.
I would prefer though if it was gson serialization to the params (as the
name hints).

On Wed, Mar 23, 2011 at 5:12 PM, Emile Joubert <emile at rabbitmq.com> wrote:

> Hi,
> On 23/03/11 14:24, mysurf mail wrote:
>> using rpc json client and server,
>> I can call a function only with null value in the parameters.
>> otherwise the reflection doesnt seem to work.
>> any idea ?
> Are your parameters properly JSON-serialisable? If null is the only value
> that works then it is possible that the serialisation has failed.
> The Java client example directory has code that illustrates how to use JSON
> RPC - see HelloJsonServer and HelloJsonClient.
> Regards
> Emile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110323/cfc4b6b4/attachment.htm>

More information about the rabbitmq-discuss mailing list