tl24 / jsonexserializer

Automatically exported from code.google.com/p/jsonexserializer
1 stars 1 forks source link

Deserialize into existing object #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Implement the ability to deserialize into an existing object.

Foo f = new Foo();
Serializer s = new Serializer(typeof(Foo));

s.Deserialize("{ Bar: 1 }", f);

// Prints "1"
Console.WriteLine(f.Bar);

Original issue reported on code.google.com by elliott....@gmail.com on 4 Oct 2009 at 2:38

GoogleCodeExporter commented 9 years ago

Original comment by elliott....@gmail.com on 16 Apr 2010 at 2:27

GoogleCodeExporter commented 9 years ago
Release 3.1

Original comment by elliott....@gmail.com on 16 Apr 2010 at 3:51