<?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 Json Construct in Alfresco JavaScript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/json-construct-in-alfresco-javascript/m-p/298978#M252108</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need help to find a way to write data in json format in Alfresco Javascript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know we have jsonUtils object in alfresco that can generate a json from Javascript Native object through jsonUtils.toJsonString() method, the object only available in Webscripts only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to write a script in Alfresco the script will be in Data Dictionary / Scripts location, from there when the script executes that need to generate a output file in the same location that contain data in Json format, I have the data with me that need to generate in Json format, i cannot use that method jsonUtils.toJsonString() because its not a webscript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;please help to slove the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pmr&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Sep 2014 13:40:25 GMT</pubDate>
    <dc:creator>pmrreddy</dc:creator>
    <dc:date>2014-09-02T13:40:25Z</dc:date>
    <item>
      <title>Json Construct in Alfresco JavaScript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/json-construct-in-alfresco-javascript/m-p/298978#M252108</link>
      <description>Hi All,I need help to find a way to write data in json format in Alfresco Javascript.I know we have jsonUtils object in alfresco that can generate a json from Javascript Native object through jsonUtils.toJsonString() method, the object only available in Webscripts only.I need to write a script in Al</description>
      <pubDate>Tue, 02 Sep 2014 13:40:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/json-construct-in-alfresco-javascript/m-p/298978#M252108</guid>
      <dc:creator>pmrreddy</dc:creator>
      <dc:date>2014-09-02T13:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Json Construct in Alfresco JavaScript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/json-construct-in-alfresco-javascript/m-p/298979#M252109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well you can always use javascripts functions which could do this for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.w3schools.com/json/json_eval.asp" rel="nofollow noopener noreferrer"&gt;http://www.w3schools.com/json/json_eval.asp&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://stackoverflow.com/questions/16507222/create-json-object-dynamically-via-javascript-without-concate-strings" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/16507222/create-json-object-dynamically-via-javascript-without-concate-strings&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Also untlimatly if you see jsonUtils of Alfresco they have create those APIs on top of basic javascript functions only.So even you can raplicate that in your javascript file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 05:21:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/json-construct-in-alfresco-javascript/m-p/298979#M252109</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2014-09-03T05:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Json Construct in Alfresco JavaScript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/json-construct-in-alfresco-javascript/m-p/298980#M252110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi mitpatoliya,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for you reply, the first link you gave for json eval that will parse the json string into javascript native object, but i need to construct a json string from my javascript native object and write the same json string in to a node. If i am wrong please give a example so that i can go through that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thankyou&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Param&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 07:20:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/json-construct-in-alfresco-javascript/m-p/298980#M252110</guid>
      <dc:creator>pmrreddy</dc:creator>
      <dc:date>2014-09-03T07:20:12Z</dc:date>
    </item>
  </channel>
</rss>

