Skip to content

Kirby 4.4.1

$file->toJson()

Converts the entire file array into a json string

$file->toJson(): string

Return type

string

Parent class

Kirby\Filesystem\File