Skip to content

Kirby 4.2.0

$value->toJson()

Converts the object to a JSON string

$value->toJson(): string

Return type

string

Parent class

Kirby\Cache\Value