<?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: tFileInputJSON - How do I get the data out of the second level? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-How-do-I-get-the-data-out-of-the-second-level/m-p/2204631#M5437</link>
    <description>Hi&lt;BR /&gt;Please show me the settings of tFileInputJSON. I didn't get this info.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
    <pubDate>Mon, 02 Jul 2012 08:00:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-07-02T08:00:56Z</dc:date>
    <item>
      <title>tFileInputJSON - How do I get the data out of the second level?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-How-do-I-get-the-data-out-of-the-second-level/m-p/2204628#M5434</link>
      <description>I am able to pull the data for the field 
&lt;B&gt;OBJECTID&lt;/B&gt; by doing "$..OBJECTID" in the JSONPath query in my tFileInputJSON component. 
&lt;BR /&gt;I need help getting the data for the 
&lt;B&gt;x&lt;/B&gt; and 
&lt;B&gt;y&lt;/B&gt; fields. What should the JSONPath query be to get the 
&lt;B&gt;x&lt;/B&gt; and 
&lt;B&gt;y&lt;/B&gt; data? 
&lt;BR /&gt; 
&lt;B&gt;Here is what my small test file looks like:&lt;/B&gt; 
&lt;BR /&gt;{ 
&lt;BR /&gt; "displayFieldName": "FM_NAME", 
&lt;BR /&gt; "fieldAliases": { 
&lt;BR /&gt; "OBJECTID": "OBJECTID", 
&lt;BR /&gt; }, 
&lt;BR /&gt; "geometryType": "esriGeometryPoint", 
&lt;BR /&gt; "spatialReference": {"wkid": 1000}, 
&lt;BR /&gt; "features": 
&lt;BR /&gt;} 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;B&gt;The job runs and gives an error message of&lt;/B&gt;: 
&lt;BR /&gt;Can't find any data with JSONPath $...X 
&lt;BR /&gt;Can't find any data with JSONPath $...Y 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;B&gt;I found this post, it looks like it hasn't been resolved, so that is why it is not working for me?&lt;/B&gt; 
&lt;BR /&gt; 
&lt;A href="http://jira.talendforge.org/browse/TDI-17306" target="_blank" rel="nofollow noopener noreferrer"&gt;http://jira.talendforge.org/browse/TDI-17306&lt;/A&gt;</description>
      <pubDate>Fri, 29 Jun 2012 00:52:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-How-do-I-get-the-data-out-of-the-second-level/m-p/2204628#M5434</guid>
      <dc:creator>talendtester</dc:creator>
      <dc:date>2012-06-29T00:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputJSON - How do I get the data out of the second level?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-How-do-I-get-the-data-out-of-the-second-level/m-p/2204629#M5435</link>
      <description>Hi&lt;BR /&gt;Try these two JSONPath.&lt;BR /&gt;"$.features..x"&lt;BR /&gt;"$.features..y"&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Fri, 29 Jun 2012 03:08:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-How-do-I-get-the-data-out-of-the-second-level/m-p/2204629#M5435</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-29T03:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputJSON - How do I get the data out of the second level?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-How-do-I-get-the-data-out-of-the-second-level/m-p/2204630#M5436</link>
      <description>Thanks Pedro!&lt;BR /&gt;It gives me the right output now. &lt;BR /&gt;Do you know why it gives me these messages?&lt;BR /&gt;&lt;B&gt;The Json resource datas maybe have some problems, please make sure the data structure with the same fields.&lt;BR /&gt;The Json resource datas maybe have some problems, please make sure the data structure with the same fields.&lt;/B&gt;</description>
      <pubDate>Fri, 29 Jun 2012 16:03:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-How-do-I-get-the-data-out-of-the-second-level/m-p/2204630#M5436</guid>
      <dc:creator>talendtester</dc:creator>
      <dc:date>2012-06-29T16:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputJSON - How do I get the data out of the second level?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-How-do-I-get-the-data-out-of-the-second-level/m-p/2204631#M5437</link>
      <description>Hi&lt;BR /&gt;Please show me the settings of tFileInputJSON. I didn't get this info.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Mon, 02 Jul 2012 08:00:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-How-do-I-get-the-data-out-of-the-second-level/m-p/2204631#M5437</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-02T08:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputJSON - How do I get the data out of the second level?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-How-do-I-get-the-data-out-of-the-second-level/m-p/2204632#M5438</link>
      <description>Property Type: Built-In
&lt;BR /&gt;Schema: Built-In
&lt;BR /&gt;Filename: C:/folderName/fileName.txt
&lt;BR /&gt;Column JSONPath query
&lt;BR /&gt;----------------------------------------------
&lt;BR /&gt;OBJECTID "$..OBJECTID"
&lt;BR /&gt;X "$.features..x"
&lt;BR /&gt;Y "$.features..y"
&lt;BR /&gt;
&lt;BR /&gt;Nothing is in the Advanced Settings section.
&lt;BR /&gt;
&lt;BR /&gt;The schema is:
&lt;BR /&gt;OBJECTID String 3
&lt;BR /&gt;X String 20
&lt;BR /&gt;Y String 19</description>
      <pubDate>Mon, 02 Jul 2012 17:50:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-How-do-I-get-the-data-out-of-the-second-level/m-p/2204632#M5438</guid>
      <dc:creator>talendtester</dc:creator>
      <dc:date>2012-07-02T17:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputJSON - How do I get the data out of the second level?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-How-do-I-get-the-data-out-of-the-second-level/m-p/2204633#M5439</link>
      <description>Hi&lt;BR /&gt;This is because in your json file there are two OBJECTIDs.&lt;BR /&gt;"OBJECTID": "OBJECTID"&lt;BR /&gt;"OBJECTID": 100&lt;BR /&gt;Use this jsonpath: "$.features..OBJECTID".&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Tue, 03 Jul 2012 04:25:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-How-do-I-get-the-data-out-of-the-second-level/m-p/2204633#M5439</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-03T04:25:10Z</dc:date>
    </item>
  </channel>
</rss>

