<?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: FeatureSet To/From JSON Missing in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featureset-to-from-json-missing/m-p/536808#M13750</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I could pass geometries and attributes with a WCF service, but...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;I still can't create a complete/valid FeatureSet in Silverlight from that data (private setters prevent this) so I'd be stuck with a FeatureSet-like custom object&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;WCF would require special handling of the service and contract in all three client APIs (easy for Silverlight but less so for the others)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;I'm trying to expose the FeatureSet through a REST API so it is not really a good fit for my particular project&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;BR /&gt;&lt;SPAN&gt;The function I'm after is available in the other APIs and works beautifully. I'd love to see it in Silverlight as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/FeatureSet.html#convertFromJSON()"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/FeatureSet.html#convertFromJSON()&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jsapi/featureset.htm#FeatureSetConst2"&gt;http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jsapi/featureset.htm#FeatureSetConst2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jun 2010 17:56:26 GMT</pubDate>
    <dc:creator>RyanCooney</dc:creator>
    <dc:date>2010-06-29T17:56:26Z</dc:date>
    <item>
      <title>FeatureSet To/From JSON Missing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featureset-to-from-json-missing/m-p/536804#M13746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Has anyone found a way to create a FeatureSet from a JSON string in the Silverlight API? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Javascript and Flex APIs expose this functionality but the SL/WPF APIs explicitly hide it. I've resorted to manually assembling a JSON string from a FeatureSet, but you can't go the other way. The FeatureSet class contains private setters that prevent you from actually creating a useable object in code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI, please make your To/From JSON methods standard across all the APIs!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--Ryan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jun 2010 16:41:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featureset-to-from-json-missing/m-p/536804#M13746</guid>
      <dc:creator>RyanCooney</dc:creator>
      <dc:date>2010-06-28T16:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureSet To/From JSON Missing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featureset-to-from-json-missing/m-p/536805#M13747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could you share some insight into why you need this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jun 2010 23:46:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featureset-to-from-json-missing/m-p/536805#M13747</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-06-28T23:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureSet To/From JSON Missing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featureset-to-from-json-missing/m-p/536806#M13748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply. Basically I need to be able to serialize and pass feature data between client and server applications. Rather than creating a custom object to do this (in each of the 3 APIs) I would like to use a FeatureSet because it already contains everything I need, and it will be familiar to other client API developers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just as "QueryTask.ExecuteAsync(...)" will get you a FeatureSet it would be ideal if "MyServerTask.ExecuteAsync(...)" could do the same. Same pattern - same kind of result.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 00:52:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featureset-to-from-json-missing/m-p/536806#M13748</guid>
      <dc:creator>RyanCooney</dc:creator>
      <dc:date>2010-06-29T00:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureSet To/From JSON Missing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featureset-to-from-json-missing/m-p/536807#M13749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK gotcha'. So using a WCF service is not a solution? Basically you wouldn't even have to worry about serialization at all (not to mention its a more efficient serialization used on the hood). See &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2010/03/11/Sending-geometry-between-Silverlight-and-the-server-using-WCF.aspx"&gt;http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2010/03/11/Sending-geometry-between-Silverlight-and-the-server-using-WCF.aspx&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently we don't have any FeatureSet serializers in the Silverlight API (not even internally - that's only a deserializer).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 16:44:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featureset-to-from-json-missing/m-p/536807#M13749</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-06-29T16:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureSet To/From JSON Missing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featureset-to-from-json-missing/m-p/536808#M13750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I could pass geometries and attributes with a WCF service, but...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;I still can't create a complete/valid FeatureSet in Silverlight from that data (private setters prevent this) so I'd be stuck with a FeatureSet-like custom object&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;WCF would require special handling of the service and contract in all three client APIs (easy for Silverlight but less so for the others)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;I'm trying to expose the FeatureSet through a REST API so it is not really a good fit for my particular project&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;BR /&gt;&lt;SPAN&gt;The function I'm after is available in the other APIs and works beautifully. I'd love to see it in Silverlight as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/FeatureSet.html#convertFromJSON()"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/FeatureSet.html#convertFromJSON()&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jsapi/featureset.htm#FeatureSetConst2"&gt;http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jsapi/featureset.htm#FeatureSetConst2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 17:56:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featureset-to-from-json-missing/m-p/536808#M13750</guid>
      <dc:creator>RyanCooney</dc:creator>
      <dc:date>2010-06-29T17:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureSet To/From JSON Missing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featureset-to-from-json-missing/m-p/536809#M13751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to create a client side 'Area Picker' control and thought I could just take the JSON string and load it into a featureset with Silverlight, eliminating the need to take a trip to the server in order to get feature information. However, I hit a roadblock with the Silverlight API since the FromJSON method is missing. In theory, it sounded great, but now I have to rethink the whole solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;***EDIT!!***&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was testing it in an older 2.0 API project. I referenced the newer 2.1 API dlls and the FromJSON method is there! *whew*&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 19:02:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featureset-to-from-json-missing/m-p/536809#M13751</guid>
      <dc:creator>BrentStevener</dc:creator>
      <dc:date>2011-04-05T19:02:52Z</dc:date>
    </item>
  </channel>
</rss>

