PDA

View Full Version : Reverse of model convert method



abierbaum
23 Jun 2011, 7:26 AM
Is there a method that does the reverse of the model 'convert' method?

I have a REST service I am interfacing with where I am getting data for a field that I want to convert into a local object representation, but then when I use the proxy to write the data back to the REST service (PUT or POST), I need to convert the field back into a different format for export. How can I do this?

(if it matters, I am using Json for the data reader and writer)

-Allen