2009-10-08 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.ServiceModel.Web / System.Runtime.Serialization.Json / ChangeLog
1 2009-10-08  Atsushi Enomoto  <atsushi@ximian.com>
2
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).
9
10 2009-10-05  Atsushi Enomoto  <atsushi@ximian.com>
11
12         * JsonReader.cs : copy string literal parser from System.Json.
13
14 2009-09-22  Atsushi Enomoto  <atsushi@ximian.com>
15
16         * JsonSerializationWriter.cs : output "type" attribute on bool
17           values too.
18         * JsonSerializationReader.cs : type loading attempt was insufficient
19           and hence often missed indicated types to deserialize.
20
21 2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>
22
23         * JsonWriter.cs : use Stream as its output directly and avoid
24           extraneous preamble output. Fix interop with .NET.
25
26 2009-09-07  Atsushi Enomoto  <atsushi@ximian.com>
27
28         * JsonReaderWriterFactory.cs : check null stream (fix test failure).
29
30 2009-03-13  Andreia Gaita  <avidigal@novell.com>
31
32         * JsonReader.cs: fix depth calculation
33
34 2009-03-12  Geoff Norton  <gnorton@novell.com>
35
36         * TypeMap.cs: Avoid checking the getter/setter information until after
37         checking if we have the required attribute decorated.
38
39 2009-03-12  Andreia Gaita  <avidigal@novell.com>
40
41         * JsonReaderWriterFactory.cs: try to auto-detect encoding for streams
42         without BOM
43
44 2009-03-02  Chris Toshok  <toshok@ximian.com>
45
46         * JsonReader.cs: 2.1 has HasValue.
47
48 2009-02-02  Atsushi Enomoto  <atsushi@ximian.com>
49
50         * JsonReader.cs : show invalid input character in the error
51           message.
52
53 2009-02-02  Atsushi Enomoto  <atsushi@ximian.com>
54
55         * TypeMap.cs : in 2.1 do not use non-2.1 CreateInstance().
56
57 2009-02-02  Atsushi Enomoto  <atsushi@ximian.com>
58
59         * TypeMap.cs : allow get-only collections. Note that they are not
60           always deserializable (in .NET either).
61
62 2009-02-02  Atsushi Enomoto  <atsushi@ximian.com>
63
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).
68
69 2009-02-02  Andreia Gaita  <avidigal@novell.com>
70
71         * JsonSerializationReader.cs : Use 2.1 "approved" calls for Enum.Parse
72     and Convert.ChangeType
73
74 2008-02-18  Atsushi Enomoto  <atsushi@ximian.com>
75
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.
80
81 2008-01-30  Atsushi Enomoto  <atsushi@ximian.com>
82
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.
87
88 2008-01-30  Atsushi Enomoto  <atsushi@ximian.com>
89
90         * JsonReader.cs : GetAttribute() was not still missing support for
91           __type.
92
93 2008-01-30  Atsushi Enomoto  <atsushi@ximian.com>
94
95         * JsonReader.cs : now __type is fully supported in every methods and
96           properties in correct shape.
97
98 2008-01-30  Atsushi Enomoto  <atsushi@ximian.com>
99
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).
103
104 2008-01-24  Atsushi Enomoto  <atsushi@ximian.com>
105
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.
110
111 2008-01-24  Atsushi Enomoto  <atsushi@ximian.com>
112
113         * JsonSerializationReader.cs : new, for JSON deserialization support.
114         * DataContractJsonSerializer.cs, TypeMap.cs :
115           basic support for deserialization.
116
117 2008-01-24  Atsushi Enomoto  <atsushi@ximian.com>
118
119         * DataContractJsonSerializer.cs,
120           TypeMap.cs,
121           JsonSerializationWriter.cs : split the first to those three files.
122
123 2008-01-24  Atsushi Enomoto  <atsushi@ximian.com>
124
125         * DataContractJsonSerializer.cs : Uri and Guid are serialized as
126           string. XmlQualifiedName is serialized as local:ns.
127
128 2008-01-22  Atsushi Enomoto  <atsushi@ximian.com>
129
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).
134
135 2007-12-05  Atsushi Enomoto  <atsushi@ximian.com>
136
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.
142