<?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: How do I parse children from a hierarchical json file? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-parse-children-from-a-hierarchical-json-file/m-p/2520603#M147635</link>
    <description>&lt;P&gt;Thanks for the link.&amp;nbsp; That's great for working with json files.&amp;nbsp; But I need Talend to parse a json into a parquet.&lt;/P&gt;&lt;P&gt;BTW, I've used&amp;nbsp;&lt;A href="https://jsonformatter.org/" target="_blank"&gt;https://jsonformatter.org/&lt;/A&gt;&amp;nbsp;for working with json files but I'll compare that with pathfinder.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Jun 2025 14:14:27 GMT</pubDate>
    <dc:creator>pthomas</dc:creator>
    <dc:date>2025-06-09T14:14:27Z</dc:date>
    <item>
      <title>How do I parse children from a hierarchical json file?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-parse-children-from-a-hierarchical-json-file/m-p/2520380#M147631</link>
      <description>&lt;DIV&gt;I have a table for people.&amp;nbsp; Those people have friends who have friends.&amp;nbsp; All people, friend or not, have the same data.&amp;nbsp; The parent has no other friends but does have a column for that.&amp;nbsp; This mirrors the data that I am getting.&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If I create a json Metedata schema of "friend" to house the columns (id, name, friendOf, someValue), how can I pull this data into a parquet file or other flat file or db?&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;To the point, how can I parse this with Talend?&amp;nbsp; How can I use tMap, tExtractJson or other component on an "n" number of levels of the same data?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Hopefully, the json isn't too butchered.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;{&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"friends": {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "id": 100,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "name": "Bob",&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"friendOf": null,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"someValue": "58",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "children": [&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"id": 101,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"name": "Sue",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"friendOf": "Bob",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"someValue": "123"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"id": 102,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"name": "Jan",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"friendOf": "Bob",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"someValue":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/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"someValue": "23",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"children": [&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"id": 105,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"name": "Cal",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"friendOf": "Ron",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"someValue": "777",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"children": [&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"id": 106,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"name": "Ann",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"friendOf": "Cal",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"someValue": "777"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"id": 107,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"name": "Leo",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"friendOf": "Cal",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"someValue": "42"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;</description>
      <pubDate>Mon, 09 Jun 2025 14:12:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-parse-children-from-a-hierarchical-json-file/m-p/2520380#M147631</guid>
      <dc:creator>pthomas</dc:creator>
      <dc:date>2025-06-09T14:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do I parse children from a hierarchical json file?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-parse-children-from-a-hierarchical-json-file/m-p/2520454#M147633</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/321951"&gt;@pthomas&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use this url to get the correct jsonPath query to parse your json&lt;/P&gt;&lt;P&gt;&lt;A href="https://jsonpathfinder.com/" target="_blank" rel="noopener"&gt;https://jsonpathfinder.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_0-1749240240320.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181131i54CCF84CA0FF8F70/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_0-1749240240320.png" alt="Dave_Simo_0-1749240240320.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 20:05:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-parse-children-from-a-hierarchical-json-file/m-p/2520454#M147633</guid>
      <dc:creator>Dave_Simo</dc:creator>
      <dc:date>2025-06-06T20:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I parse children from a hierarchical json file?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-parse-children-from-a-hierarchical-json-file/m-p/2520603#M147635</link>
      <description>&lt;P&gt;Thanks for the link.&amp;nbsp; That's great for working with json files.&amp;nbsp; But I need Talend to parse a json into a parquet.&lt;/P&gt;&lt;P&gt;BTW, I've used&amp;nbsp;&lt;A href="https://jsonformatter.org/" target="_blank"&gt;https://jsonformatter.org/&lt;/A&gt;&amp;nbsp;for working with json files but I'll compare that with pathfinder.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 14:14:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-parse-children-from-a-hierarchical-json-file/m-p/2520603#M147635</guid>
      <dc:creator>pthomas</dc:creator>
      <dc:date>2025-06-09T14:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I parse children from a hierarchical json file?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-parse-children-from-a-hierarchical-json-file/m-p/2520609#M147636</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/321951"&gt;@pthomas&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And which part of the json do you want to parse with the Talend component? The link actually helps you to have the right jsonPath query to use in your tFileInpuJson or tExtractJsonFields.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 14:46:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-parse-children-from-a-hierarchical-json-file/m-p/2520609#M147636</guid>
      <dc:creator>Dave_Simo</dc:creator>
      <dc:date>2025-06-09T14:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do I parse children from a hierarchical json file?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-parse-children-from-a-hierarchical-json-file/m-p/2520621#M147637</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/321951"&gt;@pthomas&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_1-1749482850969.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181190iD8C67C149070943D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_1-1749482850969.png" alt="Dave_Simo_1-1749482850969.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_0-1749482822982.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181189i37ED1249CCD44CDD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_0-1749482822982.png" alt="Dave_Simo_0-1749482822982.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 15:27:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-parse-children-from-a-hierarchical-json-file/m-p/2520621#M147637</guid>
      <dc:creator>Dave_Simo</dc:creator>
      <dc:date>2025-06-09T15:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I parse children from a hierarchical json file?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-parse-children-from-a-hierarchical-json-file/m-p/2521060#M147653</link>
      <description>&lt;P&gt;The issue was user!&amp;nbsp; In my example above if "friends" was in square brackets not curly, that would better simulate my issue.&amp;nbsp; Getting the "[*]"s right and the "."s is important.&amp;nbsp; My results were coming back in a comma separated list.&amp;nbsp; Removing a "." from the json query separated them into individual rows.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 16:47:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-parse-children-from-a-hierarchical-json-file/m-p/2521060#M147653</guid>
      <dc:creator>pthomas</dc:creator>
      <dc:date>2025-06-12T16:47:49Z</dc:date>
    </item>
  </channel>
</rss>

