<?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: Rest JSON deserialization converted to key=value in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/rest-json-deserialization-converted-to-key-value/m-p/127389#M89612</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What a coincidence, I have a blog-post about this ready and will be posted today. I'll post the link here once it's online!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jul 2013 09:43:55 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2013-07-18T09:43:55Z</dc:date>
    <item>
      <title>Rest JSON deserialization converted to key=value</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-json-deserialization-converted-to-key-value/m-p/127388#M89611</link>
      <description>Hi all.i've a problem with the rest functions, especially the start one.i send data in this way:{&amp;nbsp;&amp;nbsp; "processDefinitionKey":"sid-f7f670e1-a6cf-42a7-b824-f88446256b7f",&amp;nbsp;&amp;nbsp; "variables":[&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name":"processId",&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "value":108&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name":"data",&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "value":[&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</description>
      <pubDate>Thu, 18 Jul 2013 07:20:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-json-deserialization-converted-to-key-value/m-p/127388#M89611</guid>
      <dc:creator>esseti</dc:creator>
      <dc:date>2013-07-18T07:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Rest JSON deserialization converted to key=value</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-json-deserialization-converted-to-key-value/m-p/127389#M89612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What a coincidence, I have a blog-post about this ready and will be posted today. I'll post the link here once it's online!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 09:43:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-json-deserialization-converted-to-key-value/m-p/127389#M89612</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-18T09:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Rest JSON deserialization converted to key=value</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-json-deserialization-converted-to-key-value/m-p/127390#M89613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i found that it is already parsed. so i've to encode it twice to do the parsing manually.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 09:52:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-json-deserialization-converted-to-key-value/m-p/127390#M89613</guid>
      <dc:creator>esseti</dc:creator>
      <dc:date>2013-07-18T09:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Rest JSON deserialization converted to key=value</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-json-deserialization-converted-to-key-value/m-p/127391#M89614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, it's parsed into a Map by Jackson…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 10:03:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-json-deserialization-converted-to-key-value/m-p/127391#M89614</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-18T10:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Rest JSON deserialization converted to key=value</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-json-deserialization-converted-to-key-value/m-p/127392#M89615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;mmm.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;another thing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i'm trying to write a script to manipluate a json object with groovy and script task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this is the object (it's "data", an execution variable):&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;[{"validation": "7"}, {"validation": "5"}]&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;when i try to check the lenght, it gives me this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;size 42&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;basically it's understood as a string and not as a json list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any idea?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 12:45:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-json-deserialization-converted-to-key-value/m-p/127392#M89615</guid>
      <dc:creator>esseti</dc:creator>
      <dc:date>2013-07-18T12:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rest JSON deserialization converted to key=value</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-json-deserialization-converted-to-key-value/m-p/127393#M89616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How is the variable stored in the process (which type)? Check the ACT_RU_VARIABLE or use the API to fetch the variable value yourself (not in a script)…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 06:11:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-json-deserialization-converted-to-key-value/m-p/127393#M89616</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-19T06:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rest JSON deserialization converted to key=value</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-json-deserialization-converted-to-key-value/m-p/127394#M89617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The fact is that by sending a singal i can only send a string (or other first-class types). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Probably also for the start process i can't send json objects (i actually send a string). but there i've a java class that does the translation, and it stores a JSONObject with setVariable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is with signals. I can't make it receiving a json object. I tried and i seen them as "null" in a script task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Right now I made a compiler that takes the process and adds a service task after each receive.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i've to test it. wondering if there's a better solution. but if it works than fine (i've to compile the process anyway).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 07:43:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-json-deserialization-converted-to-key-value/m-p/127394#M89617</guid>
      <dc:creator>esseti</dc:creator>
      <dc:date>2013-07-19T07:43:10Z</dc:date>
    </item>
  </channel>
</rss>

