[eluser]bretticus[/eluser]
There's really not much point in returning a scalar string as JSON code. The whole purpose is to return a JSON object. That's why JSON stands for JavaScript Object Notation. You may ask, what's the point? Well, the point is that you can take an entire associative array in PHP (query results) and pass that whole array (or even a simple php object) as an object represented in JSON format back to your browser. Then you can referrer to any property of that object directly in JavaScript.
I see in your example, you are decoding json. In this case, a scaler string, would not be representative of JSON at all. I'm surprised that having the quotes actually returns the string (but then again, that's probably JSON that I've never tried because what's the point?)
What exactly are you trying to accomplish? If your goal is to return encoded JSON, why are you using the decode function?