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