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