<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Create FeatureSet from JSON in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/create-featureset-from-json/m-p/150251#M1688</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The FeatureSet.FromJson had several limitations, mainly due to the fact that a schema was missing (so for&amp;nbsp;instance dates would be returned as longs or ints, some doubles were integers, etc). Features in 100.x have a strict schema requirement, where that just wouldn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The feature collection resolves that by combining the feature service definition and the feature data into one object (and the ability contain multiple tables). There is no equivalent in 100.x, but you&amp;nbsp;should be able to construct a feature-collection-compatible json from the json you already have by adding the extra info around it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Aug 2019 02:59:37 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2019-08-20T02:59:37Z</dc:date>
    <item>
      <title>Create FeatureSet from JSON</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/create-featureset-from-json/m-p/150250#M1687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I create featureSet from JSON (or IFeatureSet or IEnumerable&amp;lt;Fields&amp;gt;) using version 100 runtime library?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There use to exist `FeatureSet.FromJson` in the 10.x runtime, but that seems to be missing now. I see there is&amp;nbsp;FeatureCollection.FromJson but that doesnt seem to work with JSON from&amp;nbsp;my query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example JSON I am wanting to convert into a FeatureSet :&amp;nbsp;&lt;A class="link-titled" href="https://paste.ee/p/DB9nM" title="https://paste.ee/p/DB9nM"&gt;https://paste.ee/p/DB9nM&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;This is the JSON response from a Roads &amp;amp; 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&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get back the FeatureSet.FromJson functionality?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2019 04:09:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/create-featureset-from-json/m-p/150250#M1687</guid>
      <dc:creator>BrianHare</dc:creator>
      <dc:date>2019-08-19T04:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Create FeatureSet from JSON</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/create-featureset-from-json/m-p/150251#M1688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The FeatureSet.FromJson had several limitations, mainly due to the fact that a schema was missing (so for&amp;nbsp;instance dates would be returned as longs or ints, some doubles were integers, etc). Features in 100.x have a strict schema requirement, where that just wouldn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The feature collection resolves that by combining the feature service definition and the feature data into one object (and the ability contain multiple tables). There is no equivalent in 100.x, but you&amp;nbsp;should be able to construct a feature-collection-compatible json from the json you already have by adding the extra info around it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2019 02:59:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/create-featureset-from-json/m-p/150251#M1688</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2019-08-20T02:59:37Z</dc:date>
    </item>
  </channel>
</rss>

