title: php get values from json encode
body: <p>I have an url passing parameters use json_encode each values like follow:</p>
  
  <pre><code>$json = array
  (
      'countryId' =&gt; $_GET['CountryId'],
      'productId' =&gt; $_GET['ProductId'],
      'status'    =&gt; $_GET['ProductId'],
      'opId'      =&gt; $_GET['OpId']
  );
  
  echo json_encode($json);
  </code></pre>
  
  <p>It's returned a result as:</p>
  
  <pre><code>{  
    "countryId":"84",
    "productId":"1",
    "status":"0",
    "opId":"134"
  }
  </code></pre>
  
  <p>Can I use <code>json_decode</code> to parse each values for further data processing?</p>
  
  <p>Thanks.</p>