/**
* {@inheritdoc}
*/
public function read(NodeInterface $node, PropertyInterface $property, $webspaceKey, $languageCode, $segmentKey)
{
$data = $node->getPropertyValueWithDefault($property->getName(), '{}');
if (is_string($data)) {
$data = json_decode($data, true);
}
if (!empty($data['tags'])) {
$data['tags'] = $this->tagManager->resolveTagIds($data['tags']);
}
$property->setValue($data);
}