2009-03-13 Andreia Gaita <avidigal@novell.com>
[mono.git] / mcs / class / System.ServiceModel.Web / System.Runtime.Serialization.Json / ChangeLog
1 2009-03-13  Andreia Gaita  <avidigal@novell.com>
2
3         * JsonReader.cs: fix depth calculation
4
5 2009-03-12  Geoff Norton  <gnorton@novell.com>
6
7         * TypeMap.cs: Avoid checking the getter/setter information until after
8         checking if we have the required attribute decorated.
9
10 2009-03-12  Andreia Gaita  <avidigal@novell.com>
11
12         * JsonReaderWriterFactory.cs: try to auto-detect encoding for streams
13         without BOM
14
15 2009-03-02  Chris Toshok  <toshok@ximian.com>
16
17         * JsonReader.cs: 2.1 has HasValue.
18
19 2009-02-02  Atsushi Enomoto  <atsushi@ximian.com>
20
21         * JsonReader.cs : show invalid input character in the error
22           message.
23
24 2009-02-02  Atsushi Enomoto  <atsushi@ximian.com>
25
26         * TypeMap.cs : in 2.1 do not use non-2.1 CreateInstance().
27
28 2009-02-02  Atsushi Enomoto  <atsushi@ximian.com>
29
30         * TypeMap.cs : allow get-only collections. Note that they are not
31           always deserializable (in .NET either).
32
33 2009-02-02  Atsushi Enomoto  <atsushi@ximian.com>
34
35         * TypeMap.cs : DataContractJsonSerializer in RTM does not seem to
36           reject contract-less types. So populate map for public members.
37         * DataContractJsonSerializer.cs : close XmlWriter to flush stream
38           (and it closes the stream by default).
39
40 2009-02-02  Andreia Gaita  <avidigal@novell.com>
41
42         * JsonSerializationReader.cs : Use 2.1 "approved" calls for Enum.Parse
43     and Convert.ChangeType
44
45 2008-02-18  Atsushi Enomoto  <atsushi@ximian.com>
46
47         * DataContractJsonSerializer.cs : IsStartObject() could raise
48           an arbitrary exception, so wrap it inside try-catch too to enclose
49           with SerializationException.
50         * JsonSerializationReader.cs : support DBNull.
51
52 2008-01-30  Atsushi Enomoto  <atsushi@ximian.com>
53
54         * DataContractJsonSerializer.cs : fixed .ctor(type, knonwTypes) that
55           missed to delegate knownTypes correctly.
56         * JsonSerializationReader.cs : consider KnownTypes correctly.
57           Take "__type" fully into consideration, not just for arrays.
58
59 2008-01-30  Atsushi Enomoto  <atsushi@ximian.com>
60
61         * JsonReader.cs : GetAttribute() was not still missing support for
62           __type.
63
64 2008-01-30  Atsushi Enomoto  <atsushi@ximian.com>
65
66         * JsonReader.cs : now __type is fully supported in every methods and
67           properties in correct shape.
68
69 2008-01-30  Atsushi Enomoto  <atsushi@ximian.com>
70
71         * JsonReader.cs : Do not consume "__type" (which is the first content
72           of an object) as an element content. It must be handled as an
73           attribute (it needs more changes).
74
75 2008-01-24  Atsushi Enomoto  <atsushi@ximian.com>
76
77         * JsonSerializationReader.cs : when deserializing primitive strings,
78           make use of "type" attribute (they are supposed to exist).
79           Output source reader location if available.
80         * JsonReader.cs : implement IXmlLineInfo.
81
82 2008-01-24  Atsushi Enomoto  <atsushi@ximian.com>
83
84         * JsonSerializationReader.cs : new, for JSON deserialization support.
85         * DataContractJsonSerializer.cs, TypeMap.cs :
86           basic support for deserialization.
87
88 2008-01-24  Atsushi Enomoto  <atsushi@ximian.com>
89
90         * DataContractJsonSerializer.cs,
91           TypeMap.cs,
92           JsonSerializationWriter.cs : split the first to those three files.
93
94 2008-01-24  Atsushi Enomoto  <atsushi@ximian.com>
95
96         * DataContractJsonSerializer.cs : Uri and Guid are serialized as
97           string. XmlQualifiedName is serialized as local:ns.
98
99 2008-01-22  Atsushi Enomoto  <atsushi@ximian.com>
100
101         * JsonWriter.cs : allow __type attribute. It required couple of
102           changes all around the class.
103         * DataContractJsonSerializer.cs : implemented large part of
104           serialization support (deserialization is not done yet).
105
106 2007-12-05  Atsushi Enomoto  <atsushi@ximian.com>
107
108         * DataContractJsonSerializer.cs :
109           moved from System.Runtime.Serialization and changed the namespace.
110         * JsonReader.cs, JsonWriter.cs, JsonReaderWriterFactory.cs,
111           IXmlJsonReaderInitializer.cs, IXmlJsonWriterInitializer.cs :
112           moved from System.Xml and changed the namespace.
113