<?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 How to import JSON? in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-import-json/m-p/71742#M759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the old ESRI sdk, I could create an AGSFeatureSet by importing a json file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The json file looked like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Menlo;"&gt; &lt;SPAN style="color: #222222;"&gt;{&lt;/SPAN&gt;&lt;SPAN style="color: #3363a4;"&gt;"geometryType"&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #db7100;"&gt;"esriGeometryPolygon"&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #3363a4;"&gt;"features"&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;:[{&lt;/SPAN&gt;&lt;SPAN style="color: #3363a4;"&gt;"geometry"&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;:{&lt;/SPAN&gt;&lt;SPAN style="color: #3363a4;"&gt;"spatialReference"&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;:{&lt;/SPAN&gt;&lt;SPAN style="color: #3363a4;"&gt;"wkid"&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #db7100;"&gt;102100&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: #3363a4;"&gt;"rings"&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;:[[[&lt;/SPAN&gt;&lt;SPAN style="color: #db7100;"&gt;-9239517.7358417064&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #db7100;"&gt;2731827.6590396804&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;],&lt;/SPAN&gt;&lt;/SPAN&gt;.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this still possible with the new runtime SDK?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2018 19:22:15 GMT</pubDate>
    <dc:creator>ShawnCastrianni</dc:creator>
    <dc:date>2018-05-22T19:22:15Z</dc:date>
    <item>
      <title>How to import JSON?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-import-json/m-p/71742#M759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the old ESRI sdk, I could create an AGSFeatureSet by importing a json file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The json file looked like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Menlo;"&gt; &lt;SPAN style="color: #222222;"&gt;{&lt;/SPAN&gt;&lt;SPAN style="color: #3363a4;"&gt;"geometryType"&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #db7100;"&gt;"esriGeometryPolygon"&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #3363a4;"&gt;"features"&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;:[{&lt;/SPAN&gt;&lt;SPAN style="color: #3363a4;"&gt;"geometry"&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;:{&lt;/SPAN&gt;&lt;SPAN style="color: #3363a4;"&gt;"spatialReference"&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;:{&lt;/SPAN&gt;&lt;SPAN style="color: #3363a4;"&gt;"wkid"&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #db7100;"&gt;102100&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: #3363a4;"&gt;"rings"&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;:[[[&lt;/SPAN&gt;&lt;SPAN style="color: #db7100;"&gt;-9239517.7358417064&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #db7100;"&gt;2731827.6590396804&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;],&lt;/SPAN&gt;&lt;/SPAN&gt;.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this still possible with the new runtime SDK?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 19:22:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-import-json/m-p/71742#M759</guid>
      <dc:creator>ShawnCastrianni</dc:creator>
      <dc:date>2018-05-22T19:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to import JSON?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-import-json/m-p/71743#M760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FeatureSet JSON can't stand on it's own, so there's no official JSON spec for this. It needs the Feature Layer definition as well, and that's all part of feature collections, and FeatureCollection does have a FromJson() method you can use. Just note that this is a collection of FeatureLayers where the first part is the Feature Layer definition, and inside it, the FeatureSet itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 21:16:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-import-json/m-p/71743#M760</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2018-05-25T21:16:42Z</dc:date>
    </item>
  </channel>
</rss>

