title: Removing Json elements from the Json array if some property is empty using jolt transform spec in nifi
body: <p>I have a <code>JSON</code> payload: </p>
  
  <pre><code>{  
     "fields":[  
        {  
           "title":"Priority",
           "value":"low",
           "short":"true"
        },
        {  
           "title":"Priority",
           "value":"medium",
           "short":"true"
        },
        {  
           "title":"Priority",
           "value":"high",
           "short":"true"
        },
        {  
           "title":"Priority",
           "value":"blocker",
           "short":"true"
        },
        {  
           "title":"",
           "value":"",
           "short":"true"
        },
        {  
           "title":"",
           "value":"",
           "short":"true"
        }
     ]
  }
  </code></pre>
  
  <p>I want to remove the array element if property <code>title</code> or <code>value</code> are empty. I am using Jolt transform processor. The o/p I required</p>
  
  <pre><code>{  
     "fields":[  
        {  
           "title":"Priority",
           "value":"low",
           "short":"true"
        },
        {  
           "title":"Priority",
           "value":"medium",
           "short":"true"
        },
        {  
           "title":"Priority",
           "value":"high",
           "short":"true"
        },
        {  
           "title":"Priority",
           "value":"blocker",
           "short":"true"
        }
     ]
  }
  </code></pre>
  
  <p>And any place anyone can refer from where I can learn how to write spec would be very grateful. I have already referred <a href="https://jolt-demo.appspot.com/#inception" rel="nofollow noreferrer">https://jolt-demo.appspot.com/#inception</a></p>