<?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: [resolved] tFileInputJSON not escaping period (.) ? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileInputJSON-not-escaping-period/m-p/2303965#M75785</link>
    <description>It worked! Thank you very much!</description>
    <pubDate>Thu, 30 Jun 2011 19:54:37 GMT</pubDate>
    <dc:creator>jkrfs</dc:creator>
    <dc:date>2011-06-30T19:54:37Z</dc:date>
    <item>
      <title>[resolved] tFileInputJSON not escaping period (.) ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileInputJSON-not-escaping-period/m-p/2303963#M75783</link>
      <description>I am pulling in data with JSON which normally works well, however my response has a period in its nested structure 
&lt;BR /&gt;Here is my test case. 
&lt;BR /&gt;JSON data: 
&lt;BR /&gt;{"errors":{"error.loaderFailure":}} 
&lt;BR /&gt;The correct JSONpath query is this: 
&lt;BR /&gt;"$.errors.error\.loaderFailure" 
&lt;BR /&gt;The backslash should be escaping the period, but in the tFileInputJSON it is not. 
&lt;BR /&gt;I know this should work because if I change the response to look like this: 
&lt;BR /&gt;{"errors":{"error_loaderFailure":}} 
&lt;BR /&gt;And if I change the JSONPath query in tFileInputJSON to this: 
&lt;BR /&gt;"$.errors.error_loaderFailure" 
&lt;BR /&gt;Then the json file is parsed correctly. 
&lt;BR /&gt;Anyone have any insight in this? I'm using TOS 4.2.2.</description>
      <pubDate>Sat, 16 Nov 2024 12:50:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileInputJSON-not-escaping-period/m-p/2303963#M75783</guid>
      <dc:creator>jkrfs</dc:creator>
      <dc:date>2024-11-16T12:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFileInputJSON not escaping period (.) ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileInputJSON-not-escaping-period/m-p/2303964#M75784</link>
      <description>Vexing problem...I tested this against your input with a '.' (parsed) and a string with '_' (rejected). 
&lt;BR /&gt;"$.errors"</description>
      <pubDate>Thu, 30 Jun 2011 19:37:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileInputJSON-not-escaping-period/m-p/2303964#M75784</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-30T19:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFileInputJSON not escaping period (.) ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileInputJSON-not-escaping-period/m-p/2303965#M75785</link>
      <description>It worked! Thank you very much!</description>
      <pubDate>Thu, 30 Jun 2011 19:54:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileInputJSON-not-escaping-period/m-p/2303965#M75785</guid>
      <dc:creator>jkrfs</dc:creator>
      <dc:date>2011-06-30T19:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFileInputJSON not escaping period (.) ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileInputJSON-not-escaping-period/m-p/2303966#M75786</link>
      <description>I have another question:
&lt;BR /&gt;Is there a way to group everything under one path? Using the above example with a modification:
&lt;BR /&gt;{"errors":{"error.loaderFailure":}{"error.anotherTypeOfFailure":}}
&lt;BR /&gt;So, let's say I want to grab everything that is at $.errors.*
&lt;BR /&gt;My output would be:
&lt;BR /&gt;This is a row of error data
&lt;BR /&gt;"Another row of erroneous data.
&lt;BR /&gt;This is a third row of error data
&lt;BR /&gt;The last row of erroneous data.
&lt;BR /&gt;--
&lt;BR /&gt;This way, I can avoid having errors of the tFileInputJson component not finding the specific path? Since the errors that come back through JSON can be a wide variety of kinds of errors I've had this error: "Can't find any data with JSONPath $.errors". But there were infact errors coming back, just different kinds.
&lt;BR /&gt;If this is not possible, I suppose they'd have to implement a "Ignore Missing Path" option in the tFileInputJSON component.
&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 19 Jul 2011 18:03:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileInputJSON-not-escaping-period/m-p/2303966#M75786</guid>
      <dc:creator>jkrfs</dc:creator>
      <dc:date>2011-07-19T18:03:28Z</dc:date>
    </item>
  </channel>
</rss>

