Skip to content

Kirby 4.5.0

$image->toJson()

Converts the entire file array into a json string

$image->toJson(): string

Return type

string

Parent class

Kirby\Image\Image inherited from Kirby\Filesystem\File