Skip to content

Kirby 4.4.1

$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