<?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: tExtractJSON when there are no value names in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tExtractJSON-when-there-are-no-value-names/m-p/2317567#M87999</link>
    <description>i seem to have a similar problem. 
&lt;BR /&gt;i need to get the values: 10048,10123,10182,10183 (NOT from the 'sprints' array) etc... from velocityStatEntries but that is not an array, else i could loop thru the array with $.velocityStatEntries 
&lt;BR /&gt; 
&lt;BR /&gt;but they stand alone in the JSON (see below), how can i get to them? i am currently using JSONpath to loop and get values like 'estimated' and 'completed'. but for the ID's i cannot find a way.. 
&lt;BR /&gt;JSON source file: 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;{&lt;BR /&gt;	"sprints": [{&lt;BR /&gt;		"id": 10447,&lt;BR /&gt;		"sequence": 10447,&lt;BR /&gt;		"name": "SP120 - Plannibal Smith",&lt;BR /&gt;		"state": "CLOSED",&lt;BR /&gt;		"linkedPagesCount": 0&lt;BR /&gt;	}, {&lt;BR /&gt;		"id": 10391,&lt;BR /&gt;		"sequence": 1	0391,&lt;BR /&gt;		"name": "SP119 - Don't bug or bend over",&lt;BR /&gt;		"state": "CLOSED",&lt;BR /&gt;		"linkedPagesCount": 0&lt;BR /&gt;	}, {&lt;BR /&gt;		"id": 10244,&lt;BR /&gt;		"sequence": 10244,&lt;BR /&gt;		"name": "SP118 - Be an all grounder!",&lt;BR /&gt;		"state": "CLOSED",&lt;BR /&gt;		"linkedPagesCount": 0&lt;BR /&gt;	}, {&lt;BR /&gt;		"id": 10183,&lt;BR /&gt;		"sequence": 10183,&lt;BR /&gt;		"name": "SP117 - The R Factor",&lt;BR /&gt;		"state": "CLOSED",&lt;BR /&gt;		"linkedPagesCount": 0&lt;BR /&gt;	}, {&lt;BR /&gt;		"id": 10182,&lt;BR /&gt;		"sequence": 10182,&lt;BR /&gt;		"name": "SP116 - Deliverfull",&lt;BR /&gt;		"state": "CLOSED",&lt;BR /&gt;		"linkedPagesCount": 0&lt;BR /&gt;	}, {&lt;BR /&gt;		"id": 10123,&lt;BR /&gt;		"sequence": 10123,&lt;BR /&gt;		"name": "SP115 - Appartemenneke",&lt;BR /&gt;		"state": "CLOSED",&lt;BR /&gt;		"linkedPagesCount": 0&lt;BR /&gt;	}, {&lt;BR /&gt;		"id": 10048,&lt;BR /&gt;		"sequence": 10048,&lt;BR /&gt;		"name": "SP114 - two three letter words",&lt;BR /&gt;		"state": "CLOSED",&lt;BR /&gt;		"linkedPagesCount": 0&lt;BR /&gt;	}],&lt;BR /&gt;	"velocityStatEntries": {&lt;BR /&gt;		"10048": {&lt;BR /&gt;			"estimated": {&lt;BR /&gt;				"value": 15.5,&lt;BR /&gt;				"text": "15.5"&lt;BR /&gt;			},&lt;BR /&gt;			"completed": {&lt;BR /&gt;				"value": 6.0,&lt;BR /&gt;				"text": "6.0"&lt;BR /&gt;			}&lt;BR /&gt;		},&lt;BR /&gt;		"10244": {&lt;BR /&gt;			"estimated": {&lt;BR /&gt;				"value": 15.5,&lt;BR /&gt;				"text": "15.5"&lt;BR /&gt;			},&lt;BR /&gt;			"completed": {&lt;BR /&gt;				"value": 7.5,&lt;BR /&gt;				"text": "7.5"&lt;BR /&gt;			}&lt;BR /&gt;		},&lt;BR /&gt;		"10182": {&lt;BR /&gt;			"estimated": {&lt;BR /&gt;				"value": 12.0,&lt;BR /&gt;				"text": "12.0"&lt;BR /&gt;			},&lt;BR /&gt;			"completed": {&lt;BR /&gt;				"value": 10.0,&lt;BR /&gt;				"text": "10.0"&lt;BR /&gt;			}&lt;BR /&gt;		},&lt;BR /&gt;		"10391": {&lt;BR /&gt;			"estimated": {&lt;BR /&gt;				"value": 16.0,&lt;BR /&gt;				"text": "16.0"&lt;BR /&gt;			},&lt;BR /&gt;			"completed": {&lt;BR /&gt;				"value": 3.0,&lt;BR /&gt;				"text": "3.0"&lt;BR /&gt;			}&lt;BR /&gt;		},&lt;BR /&gt;		"10183": {&lt;BR /&gt;			"estimated": {&lt;BR /&gt;				"value": 12.0,&lt;BR /&gt;				"text": "12.0"&lt;BR /&gt;			},&lt;BR /&gt;			"completed": {&lt;BR /&gt;				"value": 7.0,&lt;BR /&gt;				"text": "7.0"&lt;BR /&gt;			}&lt;BR /&gt;		},&lt;BR /&gt;		"10123": {&lt;BR /&gt;			"estimated": {&lt;BR /&gt;				"value": 11.5,&lt;BR /&gt;				"text": "11.5"&lt;BR /&gt;			},&lt;BR /&gt;			"completed": {&lt;BR /&gt;				"value": 5.5,&lt;BR /&gt;				"text": "5.5"&lt;BR /&gt;			}&lt;BR /&gt;		},&lt;BR /&gt;		"10447": {&lt;BR /&gt;			"estimated": {&lt;BR /&gt;				"value": 7.0,&lt;BR /&gt;				"text": "7.0"&lt;BR /&gt;			},&lt;BR /&gt;			"completed": {&lt;BR /&gt;				"value": 3.0,&lt;BR /&gt;				"text": "3.0"&lt;BR /&gt;			}&lt;BR /&gt;		}&lt;BR /&gt;	}&lt;BR /&gt;}&lt;/PRE&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Expected output: 
&lt;BR /&gt; 
&lt;BR /&gt;ID &amp;nbsp; &amp;nbsp; &amp;nbsp;| estimated | completed 
&lt;BR /&gt;__________________________ 
&lt;BR /&gt;10048 | 15.5 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 6.0 
&lt;BR /&gt;10244 | 15.5 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 7.5 
&lt;BR /&gt;etc... 
&lt;BR /&gt; 
&lt;BR /&gt;NOTE: NOT the ID from the 'sprints' array but just the number that has no name</description>
    <pubDate>Fri, 07 Oct 2016 12:01:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-10-07T12:01:54Z</dc:date>
    <item>
      <title>tExtractJSON when there are no value names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJSON-when-there-are-no-value-names/m-p/2317565#M87997</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;I have been using the tExtractJSONFields component to parse json objects from a tRESTClient component successfully to date.&lt;BR /&gt;However, i am now looking to parse using another endpoint where the json format is slightly unusual...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt; 
&lt;BLOCKQUOTE&gt;
  { 
 &lt;BR /&gt; 
 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "tags": [ 
 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "english", 
 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "zopim_chat", 
 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "hostelbookerscom", 
 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "zopim_chat_ended" 
 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ] 
 &lt;BR /&gt; 
 &lt;BR /&gt;} 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;What i want is for the above to return 4 records with just the value.&amp;nbsp; Were these values pairs i.e. "value": "english" this wouldnt be a problem, but i dont know how to refer to each itme&amp;nbsp; within tags without the value name...&lt;BR /&gt;&lt;BR /&gt;The closest i have gotten so far is to setup the tRESTClient and tExtractJSONFields components as illustrated in the following screenshots:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFWY.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148400i3CF46D2D312A3FED/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFWY.png" alt="0683p000009MFWY.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFV6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150385i61112896E762B804/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFV6.png" alt="0683p000009MFV6.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFay.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149016i0F4179BED7331733/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFay.png" alt="0683p000009MFay.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFb3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131840i08EF32084A02B6AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFb3.png" alt="0683p000009MFb3.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;The last screenshots shows the results, which are far from what i want but this is the only setup that returns a value at all for me.&amp;nbsp; If i change any of the settings i end up with blank strings being returned or nulls.&amp;nbsp; Its become very frustrating...&lt;BR /&gt;&lt;BR /&gt;Any and all advice welcomed!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Scott&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 09:50:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJSON-when-there-are-no-value-names/m-p/2317565#M87997</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-08T09:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractJSON when there are no value names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJSON-when-there-are-no-value-names/m-p/2317566#M87998</link>
      <description>Hi&amp;nbsp; 
&lt;BR /&gt;Set the Xpath query as "." and uncheck the 'Get nodes' box, you should be able to extract each item of the array. 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 22 Aug 2016 02:36:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJSON-when-there-are-no-value-names/m-p/2317566#M87998</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-22T02:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractJSON when there are no value names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJSON-when-there-are-no-value-names/m-p/2317567#M87999</link>
      <description>i seem to have a similar problem. 
&lt;BR /&gt;i need to get the values: 10048,10123,10182,10183 (NOT from the 'sprints' array) etc... from velocityStatEntries but that is not an array, else i could loop thru the array with $.velocityStatEntries 
&lt;BR /&gt; 
&lt;BR /&gt;but they stand alone in the JSON (see below), how can i get to them? i am currently using JSONpath to loop and get values like 'estimated' and 'completed'. but for the ID's i cannot find a way.. 
&lt;BR /&gt;JSON source file: 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;{&lt;BR /&gt;	"sprints": [{&lt;BR /&gt;		"id": 10447,&lt;BR /&gt;		"sequence": 10447,&lt;BR /&gt;		"name": "SP120 - Plannibal Smith",&lt;BR /&gt;		"state": "CLOSED",&lt;BR /&gt;		"linkedPagesCount": 0&lt;BR /&gt;	}, {&lt;BR /&gt;		"id": 10391,&lt;BR /&gt;		"sequence": 1	0391,&lt;BR /&gt;		"name": "SP119 - Don't bug or bend over",&lt;BR /&gt;		"state": "CLOSED",&lt;BR /&gt;		"linkedPagesCount": 0&lt;BR /&gt;	}, {&lt;BR /&gt;		"id": 10244,&lt;BR /&gt;		"sequence": 10244,&lt;BR /&gt;		"name": "SP118 - Be an all grounder!",&lt;BR /&gt;		"state": "CLOSED",&lt;BR /&gt;		"linkedPagesCount": 0&lt;BR /&gt;	}, {&lt;BR /&gt;		"id": 10183,&lt;BR /&gt;		"sequence": 10183,&lt;BR /&gt;		"name": "SP117 - The R Factor",&lt;BR /&gt;		"state": "CLOSED",&lt;BR /&gt;		"linkedPagesCount": 0&lt;BR /&gt;	}, {&lt;BR /&gt;		"id": 10182,&lt;BR /&gt;		"sequence": 10182,&lt;BR /&gt;		"name": "SP116 - Deliverfull",&lt;BR /&gt;		"state": "CLOSED",&lt;BR /&gt;		"linkedPagesCount": 0&lt;BR /&gt;	}, {&lt;BR /&gt;		"id": 10123,&lt;BR /&gt;		"sequence": 10123,&lt;BR /&gt;		"name": "SP115 - Appartemenneke",&lt;BR /&gt;		"state": "CLOSED",&lt;BR /&gt;		"linkedPagesCount": 0&lt;BR /&gt;	}, {&lt;BR /&gt;		"id": 10048,&lt;BR /&gt;		"sequence": 10048,&lt;BR /&gt;		"name": "SP114 - two three letter words",&lt;BR /&gt;		"state": "CLOSED",&lt;BR /&gt;		"linkedPagesCount": 0&lt;BR /&gt;	}],&lt;BR /&gt;	"velocityStatEntries": {&lt;BR /&gt;		"10048": {&lt;BR /&gt;			"estimated": {&lt;BR /&gt;				"value": 15.5,&lt;BR /&gt;				"text": "15.5"&lt;BR /&gt;			},&lt;BR /&gt;			"completed": {&lt;BR /&gt;				"value": 6.0,&lt;BR /&gt;				"text": "6.0"&lt;BR /&gt;			}&lt;BR /&gt;		},&lt;BR /&gt;		"10244": {&lt;BR /&gt;			"estimated": {&lt;BR /&gt;				"value": 15.5,&lt;BR /&gt;				"text": "15.5"&lt;BR /&gt;			},&lt;BR /&gt;			"completed": {&lt;BR /&gt;				"value": 7.5,&lt;BR /&gt;				"text": "7.5"&lt;BR /&gt;			}&lt;BR /&gt;		},&lt;BR /&gt;		"10182": {&lt;BR /&gt;			"estimated": {&lt;BR /&gt;				"value": 12.0,&lt;BR /&gt;				"text": "12.0"&lt;BR /&gt;			},&lt;BR /&gt;			"completed": {&lt;BR /&gt;				"value": 10.0,&lt;BR /&gt;				"text": "10.0"&lt;BR /&gt;			}&lt;BR /&gt;		},&lt;BR /&gt;		"10391": {&lt;BR /&gt;			"estimated": {&lt;BR /&gt;				"value": 16.0,&lt;BR /&gt;				"text": "16.0"&lt;BR /&gt;			},&lt;BR /&gt;			"completed": {&lt;BR /&gt;				"value": 3.0,&lt;BR /&gt;				"text": "3.0"&lt;BR /&gt;			}&lt;BR /&gt;		},&lt;BR /&gt;		"10183": {&lt;BR /&gt;			"estimated": {&lt;BR /&gt;				"value": 12.0,&lt;BR /&gt;				"text": "12.0"&lt;BR /&gt;			},&lt;BR /&gt;			"completed": {&lt;BR /&gt;				"value": 7.0,&lt;BR /&gt;				"text": "7.0"&lt;BR /&gt;			}&lt;BR /&gt;		},&lt;BR /&gt;		"10123": {&lt;BR /&gt;			"estimated": {&lt;BR /&gt;				"value": 11.5,&lt;BR /&gt;				"text": "11.5"&lt;BR /&gt;			},&lt;BR /&gt;			"completed": {&lt;BR /&gt;				"value": 5.5,&lt;BR /&gt;				"text": "5.5"&lt;BR /&gt;			}&lt;BR /&gt;		},&lt;BR /&gt;		"10447": {&lt;BR /&gt;			"estimated": {&lt;BR /&gt;				"value": 7.0,&lt;BR /&gt;				"text": "7.0"&lt;BR /&gt;			},&lt;BR /&gt;			"completed": {&lt;BR /&gt;				"value": 3.0,&lt;BR /&gt;				"text": "3.0"&lt;BR /&gt;			}&lt;BR /&gt;		}&lt;BR /&gt;	}&lt;BR /&gt;}&lt;/PRE&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Expected output: 
&lt;BR /&gt; 
&lt;BR /&gt;ID &amp;nbsp; &amp;nbsp; &amp;nbsp;| estimated | completed 
&lt;BR /&gt;__________________________ 
&lt;BR /&gt;10048 | 15.5 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 6.0 
&lt;BR /&gt;10244 | 15.5 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 7.5 
&lt;BR /&gt;etc... 
&lt;BR /&gt; 
&lt;BR /&gt;NOTE: NOT the ID from the 'sprints' array but just the number that has no name</description>
      <pubDate>Fri, 07 Oct 2016 12:01:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJSON-when-there-are-no-value-names/m-p/2317567#M87999</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-07T12:01:54Z</dc:date>
    </item>
  </channel>
</rss>

