1 2009-11-20 Atsushi Enomoto <atsushi@ximian.com>
3 * DataContractJsonSerializer.cs, JsonReader.cs : Silverlight uses
4 LAME parser that allows object member name as *raw* string
5 without double-quotes. (This also reverts the previous change.)
7 2009-11-12 Atsushi Enomoto <atsushi@ximian.com>
9 * JsonSerializationReader.cs : reuse generic collection search
10 logic in KnownTypeCollection.cs. Fixed bug #551671.
12 2009-10-30 Andreia Gaita <avidigal@novell.com>
14 * DataContractJsonSerializer.cs: SL accepts keys without "", so tweak
15 the data to fix the quotes before passing it to the deserializer
17 2009-10-23 Atsushi Enomoto <atsushi@ximian.com>
19 * DataContractJsonSerializer.cs
21 JsonSerializationReader.cs : add experimental monotouch build.
23 2009-10-08 Atsushi Enomoto <atsushi@ximian.com>
25 * DataContractJsonSerializer.cs, JsonSerializationWriter.cs:
26 alwaysEmitTypeInformation is false by default. It is for __type
27 attribute, not for type attribute. __type name is always with ":#".
28 * TypeMap.cs : sort members in default typemap (it is ordered).
29 Uncomment EmitDefaultValue.
30 * JsonWriter.cs : handle "null" string (it is somewhat messy).
32 2009-10-05 Atsushi Enomoto <atsushi@ximian.com>
34 * JsonReader.cs : copy string literal parser from System.Json.
36 2009-09-22 Atsushi Enomoto <atsushi@ximian.com>
38 * JsonSerializationWriter.cs : output "type" attribute on bool
40 * JsonSerializationReader.cs : type loading attempt was insufficient
41 and hence often missed indicated types to deserialize.
43 2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
45 * JsonWriter.cs : use Stream as its output directly and avoid
46 extraneous preamble output. Fix interop with .NET.
48 2009-09-07 Atsushi Enomoto <atsushi@ximian.com>
50 * JsonReaderWriterFactory.cs : check null stream (fix test failure).
52 2009-03-13 Andreia Gaita <avidigal@novell.com>
54 * JsonReader.cs: fix depth calculation
56 2009-03-12 Geoff Norton <gnorton@novell.com>
58 * TypeMap.cs: Avoid checking the getter/setter information until after
59 checking if we have the required attribute decorated.
61 2009-03-12 Andreia Gaita <avidigal@novell.com>
63 * JsonReaderWriterFactory.cs: try to auto-detect encoding for streams
66 2009-03-02 Chris Toshok <toshok@ximian.com>
68 * JsonReader.cs: 2.1 has HasValue.
70 2009-02-02 Atsushi Enomoto <atsushi@ximian.com>
72 * JsonReader.cs : show invalid input character in the error
75 2009-02-02 Atsushi Enomoto <atsushi@ximian.com>
77 * TypeMap.cs : in 2.1 do not use non-2.1 CreateInstance().
79 2009-02-02 Atsushi Enomoto <atsushi@ximian.com>
81 * TypeMap.cs : allow get-only collections. Note that they are not
82 always deserializable (in .NET either).
84 2009-02-02 Atsushi Enomoto <atsushi@ximian.com>
86 * TypeMap.cs : DataContractJsonSerializer in RTM does not seem to
87 reject contract-less types. So populate map for public members.
88 * DataContractJsonSerializer.cs : close XmlWriter to flush stream
89 (and it closes the stream by default).
91 2009-02-02 Andreia Gaita <avidigal@novell.com>
93 * JsonSerializationReader.cs : Use 2.1 "approved" calls for Enum.Parse
94 and Convert.ChangeType
96 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
98 * DataContractJsonSerializer.cs : IsStartObject() could raise
99 an arbitrary exception, so wrap it inside try-catch too to enclose
100 with SerializationException.
101 * JsonSerializationReader.cs : support DBNull.
103 2008-01-30 Atsushi Enomoto <atsushi@ximian.com>
105 * DataContractJsonSerializer.cs : fixed .ctor(type, knonwTypes) that
106 missed to delegate knownTypes correctly.
107 * JsonSerializationReader.cs : consider KnownTypes correctly.
108 Take "__type" fully into consideration, not just for arrays.
110 2008-01-30 Atsushi Enomoto <atsushi@ximian.com>
112 * JsonReader.cs : GetAttribute() was not still missing support for
115 2008-01-30 Atsushi Enomoto <atsushi@ximian.com>
117 * JsonReader.cs : now __type is fully supported in every methods and
118 properties in correct shape.
120 2008-01-30 Atsushi Enomoto <atsushi@ximian.com>
122 * JsonReader.cs : Do not consume "__type" (which is the first content
123 of an object) as an element content. It must be handled as an
124 attribute (it needs more changes).
126 2008-01-24 Atsushi Enomoto <atsushi@ximian.com>
128 * JsonSerializationReader.cs : when deserializing primitive strings,
129 make use of "type" attribute (they are supposed to exist).
130 Output source reader location if available.
131 * JsonReader.cs : implement IXmlLineInfo.
133 2008-01-24 Atsushi Enomoto <atsushi@ximian.com>
135 * JsonSerializationReader.cs : new, for JSON deserialization support.
136 * DataContractJsonSerializer.cs, TypeMap.cs :
137 basic support for deserialization.
139 2008-01-24 Atsushi Enomoto <atsushi@ximian.com>
141 * DataContractJsonSerializer.cs,
143 JsonSerializationWriter.cs : split the first to those three files.
145 2008-01-24 Atsushi Enomoto <atsushi@ximian.com>
147 * DataContractJsonSerializer.cs : Uri and Guid are serialized as
148 string. XmlQualifiedName is serialized as local:ns.
150 2008-01-22 Atsushi Enomoto <atsushi@ximian.com>
152 * JsonWriter.cs : allow __type attribute. It required couple of
153 changes all around the class.
154 * DataContractJsonSerializer.cs : implemented large part of
155 serialization support (deserialization is not done yet).
157 2007-12-05 Atsushi Enomoto <atsushi@ximian.com>
159 * DataContractJsonSerializer.cs :
160 moved from System.Runtime.Serialization and changed the namespace.
161 * JsonReader.cs, JsonWriter.cs, JsonReaderWriterFactory.cs,
162 IXmlJsonReaderInitializer.cs, IXmlJsonWriterInitializer.cs :
163 moved from System.Xml and changed the namespace.