Skip to content

Kirby 4.5.0

$structure->toJson()

Converts the object into a JSON string

$structure->toJson(): string

Return type

string

Parent class

Kirby\Cms\Structure inherited from Kirby\Toolkit\Collection