Skip to content

Kirby 4.2.0

Value::fromJson()

Creates a value object from a JSON string; returns null on error

Value::fromJson(string $json): Kirby\Cache\Value|null

Parameters

Name Type Default
$json * string

Return type

Kirby\Cache\Value|null

Parent class

Kirby\Cache\Value