[rabbitmq-discuss] problems with parameters in jsonrpc
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
On Wed, Mar 23, 2011 at 5:12 PM, Emile Joubert <emile at rabbitmq.com> wrote:
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss