diff --git a/src/DBAL/Types/ArrayType.php b/src/DBAL/Types/ArrayType.php index 41d1bc26..616de26b 100644 --- a/src/DBAL/Types/ArrayType.php +++ b/src/DBAL/Types/ArrayType.php @@ -26,7 +26,7 @@ public function getSQLDeclaration(array $column, AbstractPlatform $platform) */ public function convertToDatabaseValue($value, AbstractPlatform $platform) { - return null === $value ? null : json_encode($value); + return null === $value ? null : json_encode($value, JSON_UNESCAPED_SLASHES); } /**