<?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 Custom JSONDecoder for ID Task Result in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/custom-jsondecoder-for-id-task-result/m-p/318816#M7588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When the ESRI API decodes a response from the identify task, there is a few second lock in the Flash application which is due to the decoding of the results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have used chunk parsing algorithms in action script to prevent the UI from locking, and I would like to implement this for the ID task response decoding. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume the class I need to extend is the com.esri.serlization.jason.JSONDecoder class. Does anyone know how I can get that code so I can re-write it, and use this extended class to parse the results from the ID task? Or, if I use a third party JSON decoder and re-write it, how can I use this class to parse the results from the ID task?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Feb 2012 15:21:04 GMT</pubDate>
    <dc:creator>BrianBehling</dc:creator>
    <dc:date>2012-02-07T15:21:04Z</dc:date>
    <item>
      <title>Custom JSONDecoder for ID Task Result</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/custom-jsondecoder-for-id-task-result/m-p/318816#M7588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When the ESRI API decodes a response from the identify task, there is a few second lock in the Flash application which is due to the decoding of the results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have used chunk parsing algorithms in action script to prevent the UI from locking, and I would like to implement this for the ID task response decoding. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume the class I need to extend is the com.esri.serlization.jason.JSONDecoder class. Does anyone know how I can get that code so I can re-write it, and use this extended class to parse the results from the ID task? Or, if I use a third party JSON decoder and re-write it, how can I use this class to parse the results from the ID task?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 15:21:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/custom-jsondecoder-for-id-task-result/m-p/318816#M7588</guid>
      <dc:creator>BrianBehling</dc:creator>
      <dc:date>2012-02-07T15:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Custom JSONDecoder for ID Task Result</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/custom-jsondecoder-for-id-task-result/m-p/318817#M7589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Customizing the JSONDecoder class is not supported. You could use HTTPService to make the REST request directly and then decode the result using a different decoder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/identify.html"&gt;http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/identify.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another option is trying ArcGIS API 3.0 Beta 1 since it uses the Flash Player's native JSON class when running in FP 11+ and this is very fast:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resourcesbeta.esri.com/en/webapis/flex-api/community/"&gt;http://resourcesbeta.esri.com/en/webapis/flex-api/community/&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://resourcesbeta.esri.com/en/webapis/flex-api/apiref/com/esri/ags/utils/JSONUtil.html"&gt;http://resourcesbeta.esri.com/en/webapis/flex-api/apiref/com/esri/ags/utils/JSONUtil.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 19:08:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/custom-jsondecoder-for-id-task-result/m-p/318817#M7589</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2012-02-07T19:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Custom JSONDecoder for ID Task Result</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/custom-jsondecoder-for-id-task-result/m-p/318818#M7590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply. I'll give this a try.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 19:42:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/custom-jsondecoder-for-id-task-result/m-p/318818#M7590</guid>
      <dc:creator>BrianBehling</dc:creator>
      <dc:date>2012-02-07T19:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Custom JSONDecoder for ID Task Result</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/custom-jsondecoder-for-id-task-result/m-p/318819#M7591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found this pretty cool JSON asynchronous decoder below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://blog.brokenfunction.com/2010/10/actionjson-the-fastest-actionscript-3-0-json-parser/"&gt;http://blog.brokenfunction.com/2010/10/actionjson-the-fastest-actionscript-3-0-json-parser/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using the JsonDecoderAsync and green threading techniques adopted from JavaScript, I can parse through an identify result with about 3000 without any UI locks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 19:28:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/custom-jsondecoder-for-id-task-result/m-p/318819#M7591</guid>
      <dc:creator>BrianBehling</dc:creator>
      <dc:date>2012-02-09T19:28:01Z</dc:date>
    </item>
  </channel>
</rss>

