<?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: jsonUtils usage in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/jsonutils-usage/m-p/305617#M258747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, I thought about doing that, but eval can't safely be used in production… What I ended up doing is importing the json2.js, but comment out the part that adds toJSON functions to Date.prototype, etc. That imported successfully and I can do JSON.parse. (That means I can't do stringify, but I don't need that in this case)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Aug 2013 16:43:37 GMT</pubDate>
    <dc:creator>dlamoris</dc:creator>
    <dc:date>2013-08-07T16:43:37Z</dc:date>
    <item>
      <title>jsonUtils usage</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jsonutils-usage/m-p/305615#M258745</link>
      <description>Hi all, I'm creating a repository tier webscript that processes content posted as json. In the script, I got the root 'json' object ok, but when I try to convert it to a native js object using jsonUtils.toObject(json), I can't figure out what's going on…example posted json:{"a": [{"b": "c"}, {"d": "</description>
      <pubDate>Tue, 06 Aug 2013 19:27:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jsonutils-usage/m-p/305615#M258745</guid>
      <dc:creator>dlamoris</dc:creator>
      <dc:date>2013-08-06T19:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: jsonUtils usage</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jsonutils-usage/m-p/305616#M258746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have aways struggled myself with this &amp;amp; generally do jsonVar = eval( "(" + jsonString + ")" 0;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 07:40:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jsonutils-usage/m-p/305616#M258746</guid>
      <dc:creator>rjohnson</dc:creator>
      <dc:date>2013-08-07T07:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: jsonUtils usage</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jsonutils-usage/m-p/305617#M258747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, I thought about doing that, but eval can't safely be used in production… What I ended up doing is importing the json2.js, but comment out the part that adds toJSON functions to Date.prototype, etc. That imported successfully and I can do JSON.parse. (That means I can't do stringify, but I don't need that in this case)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 16:43:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jsonutils-usage/m-p/305617#M258747</guid>
      <dc:creator>dlamoris</dc:creator>
      <dc:date>2013-08-07T16:43:37Z</dc:date>
    </item>
  </channel>
</rss>

