Deserialize FeatureSet JSON to Feature Class

Discussion created by westchamp24 on Apr 20, 2010
Latest reply on Feb 15, 2013 by ciava.at
I am working on some geoprocessing services that will require the use of ArcObjects, no way around that.  I have been playing around with making a custom tool via IGPFunction2, and publishing that as a service.  That whole process seems a bit much if you ask me.

I have been experimenting with sending a feature set's json to a wcf service, where I  deserialize to a feature class, do some ArcObjects magic, and then send back to the client. 

The hack of a deserialization routine that I slapped together is disappointingly slow, but I only worked on it for a few hours.  So, I have a couple of questions for anyone else who has gone this route:

1.  Is there a standard function/library to do the serialization/deserialization on the .NET backend?
2.  Is there some reason why I shouldn't do this?

Any comments or suggestions welcome.

p.s.  I am working in Flex, but imagine the same process would be similar to Silverlight developers as well.