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