title: json_encode wrapping everything in ''. How to solve
body: <p>Iam trying to send POST data using JSON. However, I am running into an issue I cannot solve. Here is the code in question:</p>
  
  <pre><code>$params = array('payment' =&gt; array(
                                'amount'   =&gt; $paymentAmount,
                                'memo'    =&gt; (string)$memo
                               ),
                 );
  
  $content = json_encode($params);
  
  var_dump($content);
  break;
  </code></pre>
  
  <p>$content is then being outputted as:</p>
  
  <pre><code>'{"payment":{"amount":"10.00","memo":"1234"}}'
  </code></pre>
  
  <p>What I <strong>need</strong> it to output is like:</p>
  
  <pre><code>{"payment":{"amount":"10.00","memo":"1234"}}
  </code></pre>
  
  <p>This has to be something simple; just i just cannot figure it out. Help please</p>