<?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>question Re: How to extract Text from JSON in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-extract-Text-from-JSON/m-p/170765#M54060</link>
    <description>&lt;P&gt;Use &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.EvaluateJsonPath/" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.EvaluateJsonPath/&lt;/A&gt;

$.eventFields should give you the content of the eventFields as a single text&lt;/P&gt;</description>
    <pubDate>Sat, 11 Feb 2017 05:18:06 GMT</pubDate>
    <dc:creator>arunak</dc:creator>
    <dc:date>2017-02-11T05:18:06Z</dc:date>
    <item>
      <title>How to extract Text from JSON</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-extract-Text-from-JSON/m-p/170764#M54059</link>
      <description>&lt;P&gt;Hi I have a JSON:&lt;/P&gt;&lt;P&gt;{
    "eventType": "E21", &lt;/P&gt;&lt;P&gt; "hGuid": "125345360514082014", &lt;/P&gt;&lt;P&gt;    "aGuid": "227345360514082014", &lt;/P&gt;&lt;P&gt;    "timestamp": 1486273085000, &lt;/P&gt;&lt;P&gt;    "eventFields": {
        "save": {
            "greeting": "How can we help?",
            "actions": [{
                "action": "Track",
                "displayText": "Recently Ordered."
            }],
            "actions": ["Hello", "Returns", "Ask?"]
        }
    } &lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;I want to extract the whole data under eventFields as a text. How can I do that in Nifi?&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2017 05:15:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-extract-Text-from-JSON/m-p/170764#M54059</guid>
      <dc:creator>vikram_anand</dc:creator>
      <dc:date>2017-02-11T05:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract Text from JSON</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-extract-Text-from-JSON/m-p/170765#M54060</link>
      <description>&lt;P&gt;Use &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.EvaluateJsonPath/" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.EvaluateJsonPath/&lt;/A&gt;

$.eventFields should give you the content of the eventFields as a single text&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2017 05:18:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-extract-Text-from-JSON/m-p/170765#M54060</guid>
      <dc:creator>arunak</dc:creator>
      <dc:date>2017-02-11T05:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract Text from JSON</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-extract-Text-from-JSON/m-p/170766#M54061</link>
      <description>&lt;P&gt;That does not work as it says cannot convert to scalar form&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2017 05:19:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-extract-Text-from-JSON/m-p/170766#M54061</guid>
      <dc:creator>vikram_anand</dc:creator>
      <dc:date>2017-02-11T05:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract Text from JSON</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-extract-Text-from-JSON/m-p/170767#M54062</link>
      <description>&lt;P&gt;Try explicitly setting the Return Type as  'json' rather than 'auto-detect' or 'scalar'. &lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2017 05:30:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-extract-Text-from-JSON/m-p/170767#M54062</guid>
      <dc:creator>mburgess</dc:creator>
      <dc:date>2017-02-11T05:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract Text from JSON</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-extract-Text-from-JSON/m-p/170768#M54063</link>
      <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/12311-json-test.xml"&gt;json-test.xml&lt;/A&gt;

I tried this for your input json&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2017 05:32:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-extract-Text-from-JSON/m-p/170768#M54063</guid>
      <dc:creator>arunak</dc:creator>
      <dc:date>2017-02-11T05:32:07Z</dc:date>
    </item>
  </channel>
</rss>

