Hi Ben,
Thanks for the reply but Simple XML is a Java library. I was looking for a C++ solution :) Best regards, Jerome Louvel -- Restlet ~ Founder and Technical Lead ~ <http://www.restlet.org/> http://www.restlet.org Noelios Technologies ~ <http://www.noelios.com/> http://www.noelios.com De : Ben Johnson [mailto:[email protected]] Envoyé : mercredi 20 janvier 2010 02:44 À : [email protected] Objet : Re: Equivalent of Restlet for C++ Hi Jerome Not sure if this is what you're after, but I've tried Simple XML <http://simple.sourceforge.net/> http://simple.sourceforge.net/ (XML only, not JSON) for an early prototype and it seemed to work ok - haven't tried it production though. From memory you need to have a default constructor with no parameters for XML deserialization, e.g. // Needed for deserialization protected MyObject() { // Whatever } I was following a builder pattern so did not intend to make the constructor public, it was accessed through a builder class, but the XML deserialization didn't work unless I defined the constructor. Hope this helps Ben From: Jerome <mailto:[email protected]> Louvel Sent: Friday, January 15, 2010 4:51 PM To: [email protected] Subject: Equivalent of Restlet for C++ Hi all, For a customer project, we have a need to provide a RESTful HTTP client and was wondering if anyone had experience to share and recommendations. Especially, are you aware of equivalents to XStream and Jackson to handle serialization/deserialization of XML/JSON? I know about NanoGear, an effort to port Restlet to C++, but it doesn't look usable in production at this stage: http://code.google.com/p/nanogear/ Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org <http://www.restlet.org/> Noelios Technologies ~ Co-founder ~ http://www.noelios.com <http://www.noelios.com/> ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2449671

