Can anyone remend a lightweight JavaScript XML-RPC library?
After researching this a while ago, I couldn't find anything I was fortable with, so I kinda ended up writing my own. However, maybe that was stupid, as there must be something suitable out there!?
My own pseudo-library is mainly missing a way to turn an XML-RPC response into JSON - or rather, converting the respective responseXML to a JavaScript object (converting the data types as needed). This isn't hard to do, but why reinvent the wheel...
Any help would be greatly appreciated!
Can anyone remend a lightweight JavaScript XML-RPC library?
After researching this a while ago, I couldn't find anything I was fortable with, so I kinda ended up writing my own. However, maybe that was stupid, as there must be something suitable out there!?
My own pseudo-library is mainly missing a way to turn an XML-RPC response into JSON - or rather, converting the respective responseXML to a JavaScript object (converting the data types as needed). This isn't hard to do, but why reinvent the wheel...
Any help would be greatly appreciated!
Share Improve this question edited Oct 23, 2008 at 6:52 munity wiki3 revs, 2 users 100%
AnC 1
- More here: stackoverflow./questions/1143772/… – BlackShift Commented Jan 3, 2012 at 14:33
4 Answers
Reset to default 2I know this two libraries, that you can basically use to convert your XML-RPC responses to JSON:
- XML to JSON Converter
- xml2json.js
This seems to do what you (and I) want:
- http://kuriositaet.de/javascript/jsxmlrpc.html
- http://kuriositaet.de/javascript/xmlrpc.html
- http://sourceforge/projects/jsxmlrpc/
Another small XML to JSON (and vice versa) JavaScript library is here -> http://code.google./p/x2js/
I could use this too. Generic XML to Json is rather unconvenient for XML-RPC.