<?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 JSON Exraction specific key and value in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/JSON-Exraction-specific-key-and-value/m-p/270054#M207259</link>
    <description>&lt;P&gt;how can I extracttext specific key and value from json data ?&lt;BR /&gt;{&lt;BR /&gt;"key1" : "value1",&lt;BR /&gt;"key2" : "value2",&lt;BR /&gt;"key3" : "value3",&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;I would like to apply the extraxttext on Key2 and its value only.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Sep 2019 21:40:21 GMT</pubDate>
    <dc:creator>ANMAR</dc:creator>
    <dc:date>2019-09-09T21:40:21Z</dc:date>
    <item>
      <title>JSON Exraction specific key and value</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JSON-Exraction-specific-key-and-value/m-p/270054#M207259</link>
      <description>&lt;P&gt;how can I extracttext specific key and value from json data ?&lt;BR /&gt;{&lt;BR /&gt;"key1" : "value1",&lt;BR /&gt;"key2" : "value2",&lt;BR /&gt;"key3" : "value3",&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;I would like to apply the extraxttext on Key2 and its value only.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2019 21:40:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JSON-Exraction-specific-key-and-value/m-p/270054#M207259</guid>
      <dc:creator>ANMAR</dc:creator>
      <dc:date>2019-09-09T21:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: JSON Exraction specific key and value</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JSON-Exraction-specific-key-and-value/m-p/270090#M207282</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/69313"&gt;@ANMAR&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try with this regex&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(?:\"key2\"\\s*:\\s*)(.*?),&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will extract only the value of "key2" key i.e "value2"&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;if you don't need quotes to be extracted then use this regex&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(?:\"key2\"\\s*:\\s*)"(.*?)",&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will extract only the value of "key2" key i.e &lt;STRONG&gt;value2&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 03:02:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JSON-Exraction-specific-key-and-value/m-p/270090#M207282</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2019-09-10T03:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: JSON Exraction specific key and value</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JSON-Exraction-specific-key-and-value/m-p/270132#M207317</link>
      <description>&lt;P&gt;Thanks a lot!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 14:57:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JSON-Exraction-specific-key-and-value/m-p/270132#M207317</guid>
      <dc:creator>ANMAR</dc:creator>
      <dc:date>2019-09-10T14:57:47Z</dc:date>
    </item>
  </channel>
</rss>

