I have looked into pirtiy before and messed around with code, but it only seems to be go one way. JSON string to objects and not the other way around which is what I need. I have looked at ton's of librarys
On Aug 18, 1:24 pm, Peter Simun <[email protected]> wrote: > pirity is the answer :)http://code.google.com/p/piriti/ > > You can serialize your object into XML/JSON and save the serialized > object on the server. > > Peter > > On 17. Aug, 16:48 h., Ciarán <[email protected]> wrote: > > > > > Thanks for the reply. > > > I am quite familiar with XML parsers, I used them in the past. Though > > in this situation its not suitable as inherited class most always work > > without having to define the added properties in the parsing. I need > > to serialize objects into some kind of file, save it and restore it at > > a later date. > > > Thanks again > > > On Aug 17, 2:21 pm, aditya sanas <[email protected]> wrote: > > > > Hi > > > > The basic requirement for you is to deal with XML file > > > > So we have jxl.jar which provides APIs to interact with tags and elements > > > in > > > xml so > > > > using these API's that are generally known as XML parsers that is SAX or > > > DOC > > > parsers. > > > > so use by using these parsers you will be able to deal with XML files. > > > > It wont be that difficult for you once you learn how to use these parsers. > > > > You will need external jar file jxl.jar > > > > -- > > > Aditya > > > > On Tue, Aug 17, 2010 at 6:00 PM, Ciarán <[email protected]> > > > wrote: > > > > Hi, I am currently working on a GWT app that requires me to > > > > serializes an object client side into maybe XML/JSON or anything > > > > really. Then save that serialized object as a xml/json/.ser file. Then > > > > at a later date read that file and reconstruct my object from it. > > > > > I have been searching for days for an answer to this, used several > > > > external library, read tutorials, GWT documentation and I still not > > > > closer to a solution. Am I totally missing something here? It was very > > > > easy to do this in plan Java, but GWT I just can seem to get it > > > > working. > > > > > Thanks > > > > > -- > > > > You received this message because you are subscribed to the Google > > > > Groups > > > > "Google Web Toolkit" group. > > > > To post to this group, send email to > > > > [email protected]. > > > > To unsubscribe from this group, send email to > > > > [email protected]<google-web-toolkit%2Bunsubs > > > > [email protected]> > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
