We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2575929 commit c21f779Copy full SHA for c21f779
app/code/Magento/Catalog/Model/Product/Option/Type/File.php
@@ -444,23 +444,6 @@ public function parseOptionValue($optionValue, $productOptionValues)
444
return null;
445
}
446
447
- /**
448
- * Validate Json serialized value
449
- *
450
- * @param string $jsonValue - JSON serialized value
451
- * @return mixed
452
- * @throws SerializationException
453
- */
454
- private function unserializeJsonValue($jsonValue)
455
- {
456
- $value = $this->serializer->unserialize($jsonValue);
457
- if (json_last_error() === JSON_ERROR_NONE) {
458
- return $value;
459
- } else {
460
- throw new SerializationException(__('Invalid JSON value.'));
461
- }
462
463
-
464
/**
465
* Prepare option value for info buy request
466
*
0 commit comments