<?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 can I extract this key value &amp;quot;9876&amp;quot; from the given json using Jolt spec? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-can-I-extract-this-key-value-quot-9876-quot-from-the/m-p/369135#M240387</link>
    <description>&lt;P&gt;Actually I want to extract all three or there can be more such like n options, So I need to extract all these n options, I explain it a bit wrong Sorry for that. All of them will have some values and I need to extract that one by one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cant edit the question now, its not allowing.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="hljs-punctuation"&gt;{&lt;/SPAN&gt;
  &lt;SPAN class="hljs-attr"&gt;"status"&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;:&lt;/SPAN&gt; &lt;SPAN class="hljs-string"&gt;"pass"&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;,&lt;/SPAN&gt;
  &lt;SPAN class="hljs-attr"&gt;"values"&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;:&lt;/SPAN&gt; &lt;SPAN class="hljs-punctuation"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="hljs-attr"&gt;"WorkFlow"&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;:&lt;/SPAN&gt; &lt;SPAN class="hljs-number"&gt;0&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;,&lt;/SPAN&gt;
    &lt;SPAN class="hljs-attr"&gt;"Reasons"&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;:&lt;/SPAN&gt; &lt;SPAN class="hljs-punctuation"&gt;{&lt;/SPAN&gt;
      &lt;SPAN class="hljs-attr"&gt;"resID"&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;:&lt;/SPAN&gt; &lt;SPAN class="hljs-string"&gt;""&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;,&lt;/SPAN&gt;
      &lt;SPAN class="hljs-attr"&gt;"options"&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;:&lt;/SPAN&gt; &lt;SPAN class="hljs-punctuation"&gt;{&lt;/SPAN&gt;
        &lt;SPAN class="hljs-attr"&gt;"9876"&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;:&lt;/SPAN&gt; &lt;SPAN class="hljs-punctuation"&gt;[&lt;/SPAN&gt;
          &lt;SPAN class="hljs-string"&gt;"t1"&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;,&lt;/SPAN&gt;
          &lt;SPAN class="hljs-string"&gt;"t2"&lt;/SPAN&gt;
        &lt;SPAN class="hljs-punctuation"&gt;]&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;,&lt;/SPAN&gt;
       &lt;SPAN class="hljs-attr"&gt;"9875"&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;:&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;[&lt;BR /&gt;&lt;SPAN class="hljs-string"&gt;            "t1"&lt;/SPAN&gt;,
          &lt;SPAN class="hljs-string"&gt;"c2"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;]&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;,&lt;/SPAN&gt;
       &lt;SPAN class="hljs-attr"&gt;"9874"&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;:&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;[&lt;BR /&gt;&lt;SPAN class="hljs-string"&gt;           "x1"&lt;/SPAN&gt;,
          &lt;SPAN class="hljs-string"&gt;"a2"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;]&lt;/SPAN&gt;
       &lt;SPAN class="hljs-punctuation"&gt;}&lt;/SPAN&gt;
     &lt;SPAN class="hljs-punctuation"&gt;}&lt;/SPAN&gt;
   &lt;SPAN class="hljs-punctuation"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="hljs-punctuation"&gt;}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There can N number of options, not only these 3 (9876,9875,9874) and I have to extract all of those options because I have to run API using on all these values one by one thats why I have to extract them one by one and store them in some variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Flow is like :&amp;nbsp; First option(9876) will be extracted in some variable -&amp;gt; we will check if it is empty or not -&amp;gt; if not empty -&amp;gt; it will call an API using this(9876) option -&amp;gt; same will happen for all the option one by one.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But I am unable to fetch these options one by one.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 22 Apr 2023 18:08:34 GMT</pubDate>
    <dc:creator>anony</dc:creator>
    <dc:date>2023-04-22T18:08:34Z</dc:date>
  </channel>
</rss>

