icubilla / jsonexserializer

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

Instances of System.Type are written as references when used multiple types #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Deserialize an array of Types.

Type[] types = { typeof(string), typeof(string) };

Serializer serializer = new Serializer(types.GetType());
serializer.Serialize(types);

produces:

[ "string", $[0], $[0] ]

NOTE: converter is being used as System.Type is not serializable by itself.

Priority is low as this can successfully be deserialized, it's just 
annoying.

Original issue reported on code.google.com by elliott....@gmail.com on 10 Mar 2009 at 4:54

GoogleCodeExporter commented 9 years ago
This actually seems to be causing some issues.  Rather than add another 
override to 
what can be referenced, the reference handling functionality should be broken 
out 
into its own class.

Original comment by elliott....@gmail.com on 10 Mar 2009 at 8:51

GoogleCodeExporter commented 9 years ago

Original comment by elliott....@gmail.com on 2 Jul 2009 at 12:28

GoogleCodeExporter commented 9 years ago
Release 3.1

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