<?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: tExtractJsonFields error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tExtractJsonFields-error/m-p/2218470#M13650</link>
    <description>As you can see, some keys from params might be missing, is that an issue?
&lt;BR /&gt;Thank you!</description>
    <pubDate>Thu, 06 Feb 2014 08:49:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-02-06T08:49:53Z</dc:date>
    <item>
      <title>tExtractJsonFields error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJsonFields-error/m-p/2218467#M13647</link>
      <description>Hello,&lt;BR /&gt;I followed the steps from the example with facebook friends, but with a different json, but valid.&lt;BR /&gt;this are the errors that I receive:&lt;BR /&gt;statistics] connecting to socket on port 4033&lt;BR /&gt; connected&lt;BR /&gt;java.io.IOException: Illegal character: &amp;lt;g&amp;gt;&lt;BR /&gt;A JSONObject text must begin with '{' at character 1 of 1391433900&lt;BR /&gt;java.io.IOException: Illegal character: &amp;lt;g&amp;gt;&lt;BR /&gt;java.io.IOException: Illegal character: &amp;lt;s&amp;gt;&lt;BR /&gt;A JSONObject text must begin with '{' at character 1 of ENTER_LOC&lt;BR /&gt;thi is a long message for all the values from my json.&lt;BR /&gt;Please let me know if you have any ideea why I have this error.&lt;BR /&gt;(I am using talend for the first time.)&lt;BR /&gt;Thank you!</description>
      <pubDate>Wed, 05 Feb 2014 17:41:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJsonFields-error/m-p/2218467#M13647</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-05T17:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractJsonFields error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJsonFields-error/m-p/2218468#M13648</link>
      <description>Can you please give us an example your json string?
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 06 Feb 2014 05:05:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJsonFields-error/m-p/2218468#M13648</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-06T05:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractJsonFields error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJsonFields-error/m-p/2218469#M13649</link>
      <description>so for me the "likes/data" is actually "events/params" , and "user/friends" is actually all json data "$."
&lt;BR /&gt;I can send also print screen with my settings
&lt;BR /&gt;Thanks you!
&lt;BR /&gt;{
&lt;BR /&gt; "sessionTimestamp":1391433900,
&lt;BR /&gt; "accountId":"stage-local",
&lt;BR /&gt; "events":,
&lt;BR /&gt; "userId":"100006603450795",
&lt;BR /&gt; "tracking":{
&lt;BR /&gt; "accountId":"stage-local",
&lt;BR /&gt; "created":1391434031,
&lt;BR /&gt; "createdMicroTimestamp":1391434031.2963,
&lt;BR /&gt; "type":"session",
&lt;BR /&gt; "userId":100006603450795,
&lt;BR /&gt; "sessionTimestamp":1391433900
&lt;BR /&gt; }
&lt;BR /&gt;}</description>
      <pubDate>Thu, 06 Feb 2014 08:29:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJsonFields-error/m-p/2218469#M13649</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-06T08:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractJsonFields error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJsonFields-error/m-p/2218470#M13650</link>
      <description>As you can see, some keys from params might be missing, is that an issue?
&lt;BR /&gt;Thank you!</description>
      <pubDate>Thu, 06 Feb 2014 08:49:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJsonFields-error/m-p/2218470#M13650</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-06T08:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractJsonFields error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJsonFields-error/m-p/2218471#M13651</link>
      <description>If you read json data from a file, you don't need a tExtractJsonField component, only use a tFileInputJson and set the loop jsonpath query as "/events/params", and then you are able to extract all the values, see my screenshot. As a newbie, I would suggest you to create a json metadata follows the wizards step by step. 
&lt;BR /&gt;Shong 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCtO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151760i46106BC0E40B8706/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCtO.png" alt="0683p000009MCtO.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 06 Feb 2014 10:06:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJsonFields-error/m-p/2218471#M13651</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-06T10:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractJsonFields error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJsonFields-error/m-p/2218472#M13652</link>
      <description>so if I moved the columns from extract Json to input Json and removed the extractJson palette, it worked.
&lt;BR /&gt;The question is, why for this sample works with a json file? 
&lt;BR /&gt;
&lt;A href="https://help.talend.com/search/all?query=tExtractJSONFields&amp;amp;content-lang=en?focusedCommentId=28647494&amp;amp;#comment-28647494" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=tExtractJSONFields&amp;amp;content-lang=en?focusedCommentId=28647494&amp;amp;#comment-28647494&lt;/A&gt;
&lt;BR /&gt;Thank you!</description>
      <pubDate>Thu, 06 Feb 2014 11:28:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJsonFields-error/m-p/2218472#M13652</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-06T11:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractJsonFields error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJsonFields-error/m-p/2218473#M13653</link>
      <description>Like the sample in the component manual, you can read the events node from the json file, and then extract the values from the events node with tExtractJsonField, see my screenshots, however, only with a tFileInputJson component is enough to read the data from the json file. 
&lt;BR /&gt;Shong 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCtT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134277iC197B382FC8ED45F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCtT.png" alt="0683p000009MCtT.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MClg.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134046iF5AA821967F58852/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MClg.png" alt="0683p000009MClg.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCZ0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133852i8C0CBD47864CB1DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCZ0.png" alt="0683p000009MCZ0.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 06 Feb 2014 13:37:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJsonFields-error/m-p/2218473#M13653</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-06T13:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractJsonFields error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJsonFields-error/m-p/2218474#M13654</link>
      <description>yes, true, but this means that I wont have acces to the first level of keys (sessionId,tracking etc), in which events is part of it. &lt;BR /&gt;thank you!</description>
      <pubDate>Thu, 06 Feb 2014 13:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJsonFields-error/m-p/2218474#M13654</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-06T13:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractJsonFields error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJsonFields-error/m-p/2218475#M13655</link>
      <description>If you read the first node of the json file with query path "$.", tFileInputJson do not return an normal json string, the result do not start with the syntax {, (you can test it by yourself, add a tLogRow after tFileInputJson to print the result on the console), that leads to the failure on tExtractJsonField, that's why you get the error "A JSONObject text must begin with '{' at character 1 of 1391433900" in your job.
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 07 Feb 2014 01:23:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJsonFields-error/m-p/2218475#M13655</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-07T01:23:28Z</dc:date>
    </item>
  </channel>
</rss>

