Skip to content

Kirby 4.5.0

$file->toJson()

Converts the entire file array into a json string

$file->toJson(): string

Return type

string

Parent class

Kirby\Filesystem\File