Skip to content

Kirby 4.5.0

$value->toJson()

Converts the object to a JSON string

$value->toJson(): string

Return type

string

Parent class

Kirby\Cache\Value