fullserializer icon indicating copy to clipboard operation
fullserializer copied to clipboard

Overwrite existing object

Open Tzelon opened this issue 8 years ago • 1 comments

Hey, First, thank you for open source this project, it is a great help. In Unity JsonUtility (JsonUtility.FromJsonOverwrite), you can overwrite an existing object meaning you load partial JSON file to an object and only overwrite the existing fields or you can just overwrite all the object fields. Is there a way to implement this kind of behavior?

Thanks.

Tzelon avatar Apr 12 '17 21:04 Tzelon

From this Test, it seems like it should be performing exactly as you hoped.

However, in my experience, it's always creating a new object and I came here to see if anyone else is having the same problem.

DM-John avatar Sep 13 '17 20:09 DM-John