Comments (2)
@Samistine this is happening because gson allows you to pass in an object to deserialize into. In order to handle nested objects, it needs to try to fetch the real object if it exists. I'll look into a way to avoid this if the property is null.
from gson-php.
Resolved with b27dd77. Tag coming soon.
from gson-php.
Related Issues (20)
- Not yet compatible with symfony/cache 4.x HOT 1
- Consider adding directions for virtual properties
- Add path to writer
- Add ExclusionStrategy annotation
- Add Cacheable option for ExclusionStrategy HOT 1
- Investigate how caching could be integrated with TypeAdapters HOT 1
- Consider adding JsonAdapter annotation to property cache HOT 1
- Add payload to json decode exception
- Split ExclusionStrategy into serialize/deserialize HOT 1
- Fix how type resolution works with accessors
- Fix issue with type guessing
- Consider adding support for type coercion HOT 2
- [QUESTION] Does the order of elements in associative array is guaranteed between encode/decode? HOT 3
- symfony/cache deprecation of SimpleCacheAdapter HOT 2
- Function ReflectionType::__toString() is deprecated HOT 4
- this is a great package HOT 1
- this is a great package HOT 1
- Add support for PHP 7.4 typed properties while type guessing
- Consider migrating to the GitHub Action HOT 4
- Add support for PHP 8.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gson-php.