W3cubDocs

/Laravel 5.8

CompilesJson

trait CompilesJson (View source)

Methods

string compileJson(string $expression)

Compile the JSON statement into valid PHP.

Details

protected string compileJson(string $expression)

Compile the JSON statement into valid PHP.

Parameters

string $expression

Return Value

string

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.8/Illuminate/View/Compilers/Concerns/CompilesJson.html