title: Decoding JSON and a base64-encoded value in a shell script
body: <p>I have a JSON and I need to extract a base64-encoded value by particular key and decode it.</p>
  
  <p>JSON has the following structure:</p>
  
  <pre><code>[
    {
      "LockIndex": 0,
      "Key": "Arul/key1",
      "Flags": 0,
      "Value": "MzAKCg==",
      "CreateIndex": 369,
      "ModifyIndex": 554
    }
  ]
  </code></pre>
  
  <p>In the above JSON, I need to extract only <code>"Value":"MzAKCg=="</code> and decode the base64-encoded <code>"MzAKCg=="</code> value. I would like to perform this using shell scripting.</p>
  
  <p>Please assist.</p>