Skip to content

Kirby 4.5.0

$fieldsets->toJson()

Converts the object into a JSON string

$fieldsets->toJson(): string

Return type

string

Parent class

Kirby\Cms\Fieldsets inherited from Kirby\Toolkit\Collection