Skip to content

Kirby 4.5.0

$blocks->toJson()

Converts the object into a JSON string

$blocks->toJson(): string

Return type

string

Parent class

Kirby\Cms\Blocks inherited from Kirby\Toolkit\Collection