AnsweredAssumed Answered

Create FeatureSet from JSON

Question asked by paroxsitic on Aug 18, 2019
Latest reply on Aug 19, 2019 by mnielsen-esristaff

How can I create featureSet from JSON (or IFeatureSet or IEnumerable<Fields>) using version 100 runtime library?


There use to exist `FeatureSet.FromJson` in the 10.x runtime, but that seems to be missing now. I see there is FeatureCollection.FromJson but that doesnt seem to work with JSON from my query.


Here is an example JSON I am wanting to convert into a FeatureSet : 
This is the JSON response from a Roads & Highway ArcGIS Plugin operation QueryAttributeSet -- It was in the correct format to use FeatureSet.FromJson (it would read all the fields, cast them proper and also create geometry objects


How can I get back the FeatureSet.FromJson functionality?