I am using Newtonsofts Json.NET to serialize/deserialize some JSON data. From what I've gathered from the documentation the Deserialize()
methods always return new objects. Is there any way to deserialize into an existing object? i.e. only overwriting the members that the JSON is deserializing?
Asked
Active
Viewed 2,620 times
1

jsmars
- 1,640
- 5
- 21
- 33
-
1the library has a DeserializeObject
method which is a generic method – Gabriel Castillo Prada May 07 '18 at 15:55 -
Thanks for the superquick reply! Sorry for the duplicate. I did search but for different keywords. – jsmars May 07 '18 at 15:57