<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - Using Json in Edge Animate (Was: Json)</title>
    <link>https://forums.adobe.com/community/edge_animate?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Tue, 28 Oct 2014 14:01:46 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-10-28T14:01:46Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Using Json in Edge Animate (Was: Json)</title>
      <link>https://forums.adobe.com/message/6875300?tstart=0#6875300</link>
      <description>&lt;!-- [DocumentBodyStart:72fcd6d1-fb9a-4c33-94d7-572107146a6a] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Yes&amp;nbsp; we can Joel ! But this sounds counterproductive to me.&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;
&lt;ul&gt;
&lt;li&gt;"&lt;span style="color: #333333; font-family: adobe-clean, sans-serif; font-size: 14px;"&gt;This dependency is removed in the latest Edge Animate Runtime, which means a smaller payload size and reduced number of downloads required for running your compositions."&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;&lt;p&gt;The question is about moving to the AdobeEdge.$ wrapper while&lt;span style="color: #454545; font-family: source, helvetica, arial, sans-serif; font-size: 14px;"&gt; &lt;/span&gt;keeping the good parts of jQuery and $.ajax() is one of them.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:72fcd6d1-fb9a-4c33-94d7-572107146a6a] --&gt;&lt;img src='/beacon?t=1415897246327' /&gt;</description>
      <pubDate>Tue, 28 Oct 2014 14:01:46 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6875300?tstart=0#6875300</guid>
      <dc:date>2014-10-28T14:01:46Z</dc:date>
      <clearspace:dateToText>2 weeks 2 days ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Re: Json</title>
      <link>https://forums.adobe.com/message/6875258?tstart=0#6875258</link>
      <description>&lt;!-- [DocumentBodyStart:5539f6ca-1f89-4375-9a18-de333d21b09d] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;You can rebuild "&lt;em&gt;previous"&lt;/em&gt; version loading jQuery as first external script, using the &amp;#8220;Add Script&amp;rdquo; option within the library panel.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;jQuery CDN version: &lt;a class="jive-link-external-small" href="https://code.jquery.com/jquery-2.1.1.min.js" rel="nofollow"&gt;https://code.jquery.com/jquery-2.1.1.min.js&lt;/a&gt;&lt;/li&gt;&lt;li&gt;jQuery for local use: &lt;a class="jive-link-external-small" href="http://jquery.com/download/" rel="nofollow"&gt;http://jquery.com/download/&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;==&amp;gt; &lt;a class="jive-link-external-small" href="http://www.adobe.com/devnet-docs/edgeanimate/api/current/index.html#edge_jquery" rel="nofollow"&gt;Adobe Edge Animate CC JavaScript API&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:5539f6ca-1f89-4375-9a18-de333d21b09d] --&gt;</description>
      <pubDate>Tue, 28 Oct 2014 13:37:57 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6875258?tstart=0#6875258</guid>
      <dc:date>2014-10-28T13:37:57Z</dc:date>
      <clearspace:dateToText>2 weeks 2 days ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Json</title>
      <link>https://forums.adobe.com/message/6875106?tstart=0#6875106</link>
      <description>&lt;!-- [DocumentBodyStart:de7a803e-3781-44b0-b6b5-10ccd723eba1] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Yes I know that but that's still pure Javascript without the kind of flexibility provided by the jQuery.ajax() method. I'm still hoping for some sort of implementation of it in EA.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:de7a803e-3781-44b0-b6b5-10ccd723eba1] --&gt;</description>
      <pubDate>Tue, 28 Oct 2014 13:19:29 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6875106?tstart=0#6875106</guid>
      <dc:date>2014-10-28T13:19:29Z</dc:date>
      <clearspace:dateToText>2 weeks 2 days ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Using Json in Edge Animate (Was: Json)</title>
      <link>https://forums.adobe.com/message/6866973?tstart=0#6866973</link>
      <description>&lt;!-- [DocumentBodyStart:7b6486dc-18bf-4c8f-b251-ee6da5b21cea] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Since the new API intends not to rely on Jquery, what are the plans, if any, to handle json retrieval and parsing ? Adding back the jquery dependency for this sole purpose would make little sense. On the other hand, pure javascript is far less convenient in this special circumstance.&lt;/p&gt;&lt;p&gt;Or am I missing something here ?&lt;/p&gt;&lt;p&gt;cheers&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:7b6486dc-18bf-4c8f-b251-ee6da5b21cea] --&gt;</description>
      <pubDate>Sun, 26 Oct 2014 01:16:29 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6866973?tstart=0#6866973</guid>
      <dc:date>2014-10-26T01:16:29Z</dc:date>
      <clearspace:dateToText>2 weeks 2 days ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Json</title>
      <link>https://forums.adobe.com/message/6874488?tstart=0#6874488</link>
      <description>&lt;!-- [DocumentBodyStart:4b3ea97f-ac73-4350-870d-3bdcd087136d] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;You can use JSON.parse() and JSON.stringify() functions which are natively available in Javascript.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You can use these function in native ajax calls from javascript for retrieving json like this: &lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000; font-family: Consolas, 'courier new'; font-size: 14px;"&gt;var xmlhttp = new XMLHttpRequest();&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000; font-family: Consolas, 'courier new'; font-size: 14px;"&gt;var url = "sometext.txt";&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000; font-family: Consolas, 'courier new'; font-size: 14px;"&gt;xmlhttp.onreadystatechange = function() {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000; font-family: Consolas, 'courier new'; font-size: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (xmlhttp.readyState == 4 &amp;amp;&amp;amp; xmlhttp.status == 200) {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000; font-family: Consolas, 'courier new'; font-size: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var myArr = JSON.parse(xmlhttp.responseText);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000; font-family: Consolas, 'courier new'; font-size: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myFunction(myArr);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000; font-family: Consolas, 'courier new'; font-size: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000; font-family: Consolas, 'courier new'; font-size: 14px;"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000; font-family: Consolas, 'courier new'; font-size: 14px;"&gt;xmlhttp.open("GET", url, true);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000; font-family: Consolas, 'courier new'; font-size: 14px;"&gt;xmlhttp.send();&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000; font-family: Consolas, 'courier new'; font-size: 14px;"&gt;function myFunction(arr) {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000; font-family: Consolas, 'courier new'; font-size: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //use arr as json object here&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000; font-family: Consolas, 'courier new'; font-size: 14px;"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;hth,&lt;/p&gt;&lt;p&gt;Vivekuma&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:4b3ea97f-ac73-4350-870d-3bdcd087136d] --&gt;</description>
      <pubDate>Tue, 28 Oct 2014 09:17:19 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6874488?tstart=0#6874488</guid>
      <dc:date>2014-10-28T09:17:19Z</dc:date>
      <clearspace:dateToText>2 weeks 2 days ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

