$fields->toJson() Converts the object into a JSON string kirby/src/Toolkit/Collection.php#L1131 $fields->toJson(): string Return type string Parent class Kirby\Form\Fields inherited from Kirby\Toolkit\Collection