Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/luzrain/doctrine-json-unescaped-type

Preventing json Doctrine type to escape unicode characters.
https://github.com/luzrain/doctrine-json-unescaped-type

Last synced: 8 days ago
JSON representation

Preventing json Doctrine type to escape unicode characters.

Awesome Lists containing this project

README

        

## 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
```yaml
# config/packages/doctrine.yaml
doctrine:
dbal:
types:
json: Luzrain\DoctrineJsonUnescapedType\JsonUnescapedType
```