Skip to content

Kirby 4.5.0

$obj->toJson()

Converts the object to a json string

$obj->toJson(...$arguments = null): string

Parameters

Name Type Default
... $arguments mixed null

Return type

string

Parent class

Kirby\Toolkit\Obj