The XmlRpcJsonSerializer is not producing valid json strings (it uses single quotes instead of double quotes), Moreover in the JSON-rpc standard the result should be inside a property called result.
I attach my class extending the functionality of XmlRpcJsonSerializer to fix these issues but I would reccomend to merge these changes inside XmlRpcJsonSerializer
Hi Lorentzo,
Thanks for your bug report. The XmlRpcJsonSerializer is an old thing (2006, maybe older) that didn't follow any particular RPC-specification like JSON-RPC. So it definitely needs some fixes if people are still using it -- I also saw that it serializes Dates wrong.
I'm a bit swamped with a few projects right now, but If you'd like to help I could give you commit access to the repository?
On another topic; perhaps this is a good time to move the repository to GitHub? That would make it a lot easier for people to contribute to the library than with the bulky SF.
Hi Gregor.
Thanks for the fast answer. I guess it is a bit complext to give access rights to the repository but I attach the patched version of the serializer (basically i just merged the code that i was writing in the subclass). It is not tested (I did not even try to complie) but it should work if i did not do anything wrong with the copy paste
Hello again Gregor,
just to tell you that I tested the modified version in my project and it works fine so you can include it in the next release if you want,
hello, happy new year
Any plan to include this fix in the next release?
hi Gregor, seems you forgot about this issue :)
Actually XmlRpcJsonSerializer.java is working fine so you can include it in the next release.