1 2009-10-08 Atsushi Enomoto <atsushi@ximian.com>
3 * DataContractJsonSerializer.cs, JsonSerializationWriter.cs:
4 alwaysEmitTypeInformation is false by default. It is for __type
5 attribute, not for type attribute. __type name is always with ":#".
6 * TypeMap.cs : sort members in default typemap (it is ordered).
7 Uncomment EmitDefaultValue.
8 * JsonWriter.cs : handle "null" string (it is somewhat messy).
10 2009-10-05 Atsushi Enomoto <atsushi@ximian.com>
12 * JsonReader.cs : copy string literal parser from System.Json.
14 2009-09-22 Atsushi Enomoto <atsushi@ximian.com>
16 * JsonSerializationWriter.cs : output "type" attribute on bool
18 * JsonSerializationReader.cs : type loading attempt was insufficient
19 and hence often missed indicated types to deserialize.
21 2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
23 * JsonWriter.cs : use Stream as its output directly and avoid
24 extraneous preamble output. Fix interop with .NET.
26 2009-09-07 Atsushi Enomoto <atsushi@ximian.com>
28 * JsonReaderWriterFactory.cs : check null stream (fix test failure).
30 2009-03-13 Andreia Gaita <avidigal@novell.com>
32 * JsonReader.cs: fix depth calculation
34 2009-03-12 Geoff Norton <gnorton@novell.com>
36 * TypeMap.cs: Avoid checking the getter/setter information until after
37 checking if we have the required attribute decorated.
39 2009-03-12 Andreia Gaita <avidigal@novell.com>
41 * JsonReaderWriterFactory.cs: try to auto-detect encoding for streams
44 2009-03-02 Chris Toshok <toshok@ximian.com>
46 * JsonReader.cs: 2.1 has HasValue.
48 2009-02-02 Atsushi Enomoto <atsushi@ximian.com>
50 * JsonReader.cs : show invalid input character in the error
53 2009-02-02 Atsushi Enomoto <atsushi@ximian.com>
55 * TypeMap.cs : in 2.1 do not use non-2.1 CreateInstance().
57 2009-02-02 Atsushi Enomoto <atsushi@ximian.com>
59 * TypeMap.cs : allow get-only collections. Note that they are not
60 always deserializable (in .NET either).
62 2009-02-02 Atsushi Enomoto <atsushi@ximian.com>
64 * TypeMap.cs : DataContractJsonSerializer in RTM does not seem to
65 reject contract-less types. So populate map for public members.
66 * DataContractJsonSerializer.cs : close XmlWriter to flush stream
67 (and it closes the stream by default).
69 2009-02-02 Andreia Gaita <avidigal@novell.com>
71 * JsonSerializationReader.cs : Use 2.1 "approved" calls for Enum.Parse
72 and Convert.ChangeType
74 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
76 * DataContractJsonSerializer.cs : IsStartObject() could raise
77 an arbitrary exception, so wrap it inside try-catch too to enclose
78 with SerializationException.
79 * JsonSerializationReader.cs : support DBNull.
81 2008-01-30 Atsushi Enomoto <atsushi@ximian.com>
83 * DataContractJsonSerializer.cs : fixed .ctor(type, knonwTypes) that
84 missed to delegate knownTypes correctly.
85 * JsonSerializationReader.cs : consider KnownTypes correctly.
86 Take "__type" fully into consideration, not just for arrays.
88 2008-01-30 Atsushi Enomoto <atsushi@ximian.com>
90 * JsonReader.cs : GetAttribute() was not still missing support for
93 2008-01-30 Atsushi Enomoto <atsushi@ximian.com>
95 * JsonReader.cs : now __type is fully supported in every methods and
96 properties in correct shape.
98 2008-01-30 Atsushi Enomoto <atsushi@ximian.com>
100 * JsonReader.cs : Do not consume "__type" (which is the first content
101 of an object) as an element content. It must be handled as an
102 attribute (it needs more changes).
104 2008-01-24 Atsushi Enomoto <atsushi@ximian.com>
106 * JsonSerializationReader.cs : when deserializing primitive strings,
107 make use of "type" attribute (they are supposed to exist).
108 Output source reader location if available.
109 * JsonReader.cs : implement IXmlLineInfo.
111 2008-01-24 Atsushi Enomoto <atsushi@ximian.com>
113 * JsonSerializationReader.cs : new, for JSON deserialization support.
114 * DataContractJsonSerializer.cs, TypeMap.cs :
115 basic support for deserialization.
117 2008-01-24 Atsushi Enomoto <atsushi@ximian.com>
119 * DataContractJsonSerializer.cs,
121 JsonSerializationWriter.cs : split the first to those three files.
123 2008-01-24 Atsushi Enomoto <atsushi@ximian.com>
125 * DataContractJsonSerializer.cs : Uri and Guid are serialized as
126 string. XmlQualifiedName is serialized as local:ns.
128 2008-01-22 Atsushi Enomoto <atsushi@ximian.com>
130 * JsonWriter.cs : allow __type attribute. It required couple of
131 changes all around the class.
132 * DataContractJsonSerializer.cs : implemented large part of
133 serialization support (deserialization is not done yet).
135 2007-12-05 Atsushi Enomoto <atsushi@ximian.com>
137 * DataContractJsonSerializer.cs :
138 moved from System.Runtime.Serialization and changed the namespace.
139 * JsonReader.cs, JsonWriter.cs, JsonReaderWriterFactory.cs,
140 IXmlJsonReaderInitializer.cs, IXmlJsonWriterInitializer.cs :
141 moved from System.Xml and changed the namespace.