Fix handling of strings in System.Json
[mono.git] / mcs / class / System.Json / ChangeLog
index 32128805a5e06c1b2e8de104aae901910076b78d..3782149ab0f95604a46eb0890b6d229e97e1fe11 100644 (file)
@@ -1,3 +1,19 @@
+2010-04-01  Miguel de Icaza  <miguel@novell.com>
+
+       * JsonValue.cs: We need to use Convert.ToXXXX for numbers as we
+       always end up reporting the value JsonType.Number regardless of
+       the underlying storage (int, long or decimal).   The parser
+       picks the best storage suitable for the data, and can end up using
+       "ints" for values that sometimes use longs. 
+
+       This causes problems when derefercing the data for example, if you
+       have an int and try to get it out as a long you end up with an
+       invalid cast exception.
+
+2010-03-10  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * System.Json.dll.sources : remove JsonReader.cs.
+
 2010-03-10  Atsushi Enomoto  <atsushi@ximian.com>
 
        * Makefile : reference System.Xml and System.ServiceModel.Web (for