doctrine-json-odm
doctrine-json-odm copied to clipboard
An object document mapper for Doctrine ORM using JSON types of modern RDBMS.
I want to use CamelCaseToSnakeCaseNameConverter in my project. How should I do it? https://symfony.com/doc/current/components/serializer.html#camelcase-to-snake-case
I have an Enity with property "offers": @ORM\Column(type="json_document", options={"jsonb": true}) Offers is a POPO with an id property that is of type rmsey uuid. When API-Platform tries to persist the...
Hi, I would like to perform a recursive deserialization. But the problem is that the function return an array instead of object. services.yaml => ``` # Add DateTime Normalizer to...
I have a really non-typed JSON input that successfully decoded into `stdClass` object with `json_decode($json)` But after persisting the whole entity in Postgres I can only see `{"#type": "stdClass"}` without...
I've used previously the `0.1.3` version and wanted to update it to v1. I've done the setup according to the documentation, just that 3 normalizer, but somehow my dateTime is...
Can we store the `#type` key in top level objects only? For any other object in the graph, we should leverage the standard symfony serializer ability to extract the the...
Hello! What about adding Deserialization type in the app codebase instead of storing it in the database? Something like: ```php /** * @ORM\Column(type="json_document", class="App\Address", options={"jsonb": true}) */ public $foo; ```...
Without it, serializing DateTimeInterface instances leads to huge serialized data.
## Introduce bundle config to map keys to class names See https://github.com/dunglas/doctrine-json-odm/issues/63 The static type mapper might seem to be weird but this way we don't need to inject anything...
Unsure if this is something already aware of. But we found out today that if a property on an object is marked private, when fetching that document from the database,...