Skip to content

Kirby 4.4.1

$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