2009-11-20 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.ServiceModel.Web / System.Runtime.Serialization.Json / ChangeLog
1 2009-11-20  Atsushi Enomoto  <atsushi@ximian.com>
2
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.)
6
7 2009-11-12  Atsushi Enomoto  <atsushi@ximian.com>
8
9         *  JsonSerializationReader.cs : reuse generic collection search
10           logic in KnownTypeCollection.cs. Fixed bug #551671.
11
12 2009-10-30  Andreia Gaita  <avidigal@novell.com>
13
14         * DataContractJsonSerializer.cs: SL accepts keys without "", so tweak
15         the data to fix the quotes before passing it to the deserializer
16
17 2009-10-23  Atsushi Enomoto  <atsushi@ximian.com>
18
19         * DataContractJsonSerializer.cs
20           TypeMap.cs
21           JsonSerializationReader.cs : add experimental monotouch build.
22
23 2009-10-08  Atsushi Enomoto  <atsushi@ximian.com>
24
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).
31
32 2009-10-05  Atsushi Enomoto  <atsushi@ximian.com>
33
34         * JsonReader.cs : copy string literal parser from System.Json.
35
36 2009-09-22  Atsushi Enomoto  <atsushi@ximian.com>
37
38         * JsonSerializationWriter.cs : output "type" attribute on bool
39           values too.
40         * JsonSerializationReader.cs : type loading attempt was insufficient
41           and hence often missed indicated types to deserialize.
42
43 2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>
44
45         * JsonWriter.cs : use Stream as its output directly and avoid
46           extraneous preamble output. Fix interop with .NET.
47
48 2009-09-07  Atsushi Enomoto  <atsushi@ximian.com>
49
50         * JsonReaderWriterFactory.cs : check null stream (fix test failure).
51
52 2009-03-13  Andreia Gaita  <avidigal@novell.com>
53
54         * JsonReader.cs: fix depth calculation
55
56 2009-03-12  Geoff Norton  <gnorton@novell.com>
57
58         * TypeMap.cs: Avoid checking the getter/setter information until after
59         checking if we have the required attribute decorated.
60
61 2009-03-12  Andreia Gaita  <avidigal@novell.com>
62
63         * JsonReaderWriterFactory.cs: try to auto-detect encoding for streams
64         without BOM
65
66 2009-03-02  Chris Toshok  <toshok@ximian.com>
67
68         * JsonReader.cs: 2.1 has HasValue.
69
70 2009-02-02  Atsushi Enomoto  <atsushi@ximian.com>
71
72         * JsonReader.cs : show invalid input character in the error
73           message.
74
75 2009-02-02  Atsushi Enomoto  <atsushi@ximian.com>
76
77         * TypeMap.cs : in 2.1 do not use non-2.1 CreateInstance().
78
79 2009-02-02  Atsushi Enomoto  <atsushi@ximian.com>
80
81         * TypeMap.cs : allow get-only collections. Note that they are not
82           always deserializable (in .NET either).
83
84 2009-02-02  Atsushi Enomoto  <atsushi@ximian.com>
85
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).
90
91 2009-02-02  Andreia Gaita  <avidigal@novell.com>
92
93         * JsonSerializationReader.cs : Use 2.1 "approved" calls for Enum.Parse
94     and Convert.ChangeType
95
96 2008-02-18  Atsushi Enomoto  <atsushi@ximian.com>
97
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.
102
103 2008-01-30  Atsushi Enomoto  <atsushi@ximian.com>
104
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.
109
110 2008-01-30  Atsushi Enomoto  <atsushi@ximian.com>
111
112         * JsonReader.cs : GetAttribute() was not still missing support for
113           __type.
114
115 2008-01-30  Atsushi Enomoto  <atsushi@ximian.com>
116
117         * JsonReader.cs : now __type is fully supported in every methods and
118           properties in correct shape.
119
120 2008-01-30  Atsushi Enomoto  <atsushi@ximian.com>
121
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).
125
126 2008-01-24  Atsushi Enomoto  <atsushi@ximian.com>
127
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.
132
133 2008-01-24  Atsushi Enomoto  <atsushi@ximian.com>
134
135         * JsonSerializationReader.cs : new, for JSON deserialization support.
136         * DataContractJsonSerializer.cs, TypeMap.cs :
137           basic support for deserialization.
138
139 2008-01-24  Atsushi Enomoto  <atsushi@ximian.com>
140
141         * DataContractJsonSerializer.cs,
142           TypeMap.cs,
143           JsonSerializationWriter.cs : split the first to those three files.
144
145 2008-01-24  Atsushi Enomoto  <atsushi@ximian.com>
146
147         * DataContractJsonSerializer.cs : Uri and Guid are serialized as
148           string. XmlQualifiedName is serialized as local:ns.
149
150 2008-01-22  Atsushi Enomoto  <atsushi@ximian.com>
151
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).
156
157 2007-12-05  Atsushi Enomoto  <atsushi@ximian.com>
158
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.
164