Skip to content

Kirby 4.5.0

Json::read()

Reads data from a file

Json::read(string $file): array

Parameters

Name Type Default
$file * string

Return type

array

Parent class

Kirby\Data\Json inherited from Kirby\Data\Handler