Quantcast
Channel: User Sinatr - Stack Overflow
Viewing all articles
Browse latest Browse all 601

Comment by Sinatr on Deserialize from Json using existing sub objects

$
0
0
It's not quite clear what is the problem. What garbage generation? What is usage (deserialization? serialization?) ? If you are not going to use data, then don't serialize it. As for your specific case, do it other way around: first deserialize json, then override what was deserialized with values you want to and then return.

Viewing all articles
Browse latest Browse all 601


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>