JMSSerializerBundle
JMSSerializerBundle copied to clipboard
Easily serialize, and deserialize data of any complexity (supports XML, JSON, YAML)
I don't see any CONTRIBUTING.md inside the project folder. Could you add a guidelines how to improve the documentation? According to CONTRIBUTING.md in https://github.com/schmittjoh/serializer I've executed. ``` cd Resources/doc &&...
I try to deserialize an array of object so I used that: `$serializer->deserialize($json, 'array', 'json')` It did work but when I ran phpStan:0.12 to check my code, it complained and...
Hello, I get below error when i am using jmssymfonybundle `The directory "/app/applications/transportation/carrier-integration-platform/var/cache/prod/jms_serializer" is not writable. {"exception":"[object] (InvalidArgumentException(code: 0): The directory \"/app/applications/transportation/carrier-integration-platform/var/cache/prod/jms_serializer\" is not writable. at /app/applications/transportation/carrier-integration-platform/vendor/jms/metadata/src/Cache/FileCache.php:44)"}` Can you please...
I've included my `src/Entity` path under `jms_serializer>metadata>warmup>paths>included` but at runtime with a read-only filesystem, I find I'm getting an error that `var/cache/prod/jms_serialzer` isn't writeable. Turns out it's trying to cache...
Hi! I'm trying to use a conditional expose and it doesn't care about the condition but just always exposes the field. ``` /** * @Expose(if="AnyExpressionHereItDoesntMatter") * @var int * @ORM\Column(type="integer",...
Is there a reason the `DoctrineTypeDriver` / `TypedPropertiesDriver` is registered as an alias to `jms_serializer.metadata_driver`? I'd expect `DriverChain` to be `jms_serializer.metadata_driver` and those subdrivers to be one of chained drivers....
Since the version 3, the interface `AdvancedNamingStrategyInterface` is no longer available. I want to upgrade my JMSSerializeBundle to v3 (current installed version: 2.4) but I can't find an alternative to...
When using 2.4.4 (latest 2.x) version of this bundle on php 7.4 environment, you will get this message: ``` PHP Deprecated: Unparenthesized `a ? b : c ? d :...
I have came across an issue with single table inheritance and serialisation - I get the above error unless I comment out the following code in ClassMetadata.php, after which it...
Is there an option to remove the xml declaration from the result when serializing to xml ?