luzrain/doctrine-json-unescaped-type

Preventing json Doctrine type to escape unicode characters.

v1.0.0 2021-02-01 09:07 UTC

This package is auto-updated.

Last update: 2024-10-29 06:18:51 UTC


README

By default json Doctrine types escape unicode characters before storing strings in the database.
JsonUnescapedType override default JsonType to prevent this.

Symfony integration

# config/packages/doctrine.yaml
doctrine:
    dbal:
        types:
            json: Luzrain\DoctrineJsonUnescapedType\JsonUnescapedType