Skip to content

Kirby 4.4.1

$fields->toJson()

Converts the object into a JSON string

$fields->toJson(): string

Return type

string

Parent class

Kirby\Form\Fields inherited from Kirby\Toolkit\Collection