$file->toJson() Converts the entire file array into a json string kirby/src/Filesystem/File.php#L526 $file->toJson(): string Copy Return type string Parent class Kirby\Filesystem\File