AnsweredAssumed Answered

From Json to Features using Runtime 10.2.2

Question asked by kuiperfoliage on Apr 10, 2014
Latest reply on Apr 10, 2014 by kuiperfoliage
Hi,

I'm using Runtime 10.2.2 and Desktop 10.2 to convert a GraphicsLayer to Json and then save it as a shapefile.

For this I use Featureset(GraphicCollection).ToJson() and the Conversion JSON to Features tool.

It seems that the FeatureSet().ToJson() method doesn't produce a valid JSON that can be consumed by the JSON to Feature Tool. It is missing the 'fields' attribute, which is not generated by the FeatureSet().ToJson() method. I think this is a bug. Or is there some other way that i can serialize to Json and then use the Conversion tool?

Outcomes