Please use Heredoc for this:

````php
$json = <<<EOT
{
    "name":       "foo",
    "age":        "19",
    "camel_case": "bar"
}
EOT;
````