16 $value = Main\Web\Json::decode($this->packedValue);
19 $result->addError(
new Main\
Error(
'Unavailable value for unpacking'));
24 $result->addError(
new Main\
Error(
'Unavailable value for unpacking'));
34 $unpacked = Main\Web\Json::decode($this->packedValue);
35 if (!is_array($unpacked))
38 return $this->formatResult($unpacked);
46 private function formatResult(array $fields)
48 foreach ($fields as &$field)
52 $field = $this->formatResult($field);
54 elseif (CheckDateTime($field))