Skip to content

Preventing json Doctrine type to escape unicode characters.

Notifications You must be signed in to change notification settings

luzrain/doctrine-json-unescaped-type

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Doctrine json type unescaped

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

About

Preventing json Doctrine type to escape unicode characters.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages