ChangeLog 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. 2009-03-17 Marek Habersack <[email protected]>
  2. * JavaScriptSerializer.cs: if conversion of IDictionary or
  3. IDictionary <K,V> to an object is requested, make sure that a
  4. concrete type is used (in both cases Dictionary <string, object>).
  5. Make sure that if the target type is an IDictionary<K,V> that the
  6. key is either an object or a string.
  7. 2009-03-06 Marek Habersack <[email protected]>
  8. * JsonDeserializer.cs: unquoted key values must ignore leading
  9. and trailing whitespace
  10. 2008-12-05 Marek Habersack <[email protected]>
  11. * JsonSerializer.cs: StringBuilder extension methods aren't used
  12. anymore, changed to calls to static methods in
  13. StringBuilderExtensions.
  14. * StringBuilderExtensions.cs: cannot use extension methods here
  15. because this file is also used in the version 1.0 build which
  16. doesn't reference System.Core
  17. 2008-10-22 Marek Habersack <[email protected]>
  18. * JsonDeserializer.cs: object can contain more than one unquoted
  19. keys.
  20. 2008-09-23 Marek Habersack <[email protected]>
  21. * JavaScriptSerializer.cs: removed the LazyDictionary class, it's
  22. not needed anymore.
  23. 2008-09-23 Juraj Skripsky <[email protected]>
  24. * JsonSerializer.cs: "SerializeGenericDictionary" is an instance method,
  25. fix retrieval of its MethodInfo.
  26. Initialize serializeGenericDictionaryMethods (lazily).
  27. Add and use GetClosedIDictionaryBase to also handle cases where a
  28. non-generic class implements a closed IDictionary<,> (e.g.
  29. SomeDictionary : IDictionary<string, object>). Fixes bug #424704.
  30. First check for IDictionary<,>, then for IDictionary.
  31. 2008-09-20 Marek Habersack <[email protected]>
  32. * JsonDeserializer.cs: added support for stand-alone NaN, Infinity
  33. and -Infinity values, as well as the same within an array.
  34. 2008-09-19 Marek Habersack <[email protected]>
  35. * Json.cs: added new Serialize overload which takes a TextWriter
  36. for its output parameter.
  37. Added Deserialize methods.
  38. * JsonSerializer.cs: made InitialJavaScriptDateTicks internal.
  39. Added new Serialize overload which takes a TextWriter for its
  40. output parameter.
  41. Added WriteValue overloads for float and double - they must not be
  42. converted to strings as IConvertibles because their Max/MinValue
  43. end up converted incorrectly.
  44. * JavaScriptSerializer.cs: adjustments for the new JSON
  45. (de)serializer.
  46. * JsonDeserializer.cs: new JSON deserializer code, fully compliant
  47. with the .NET AJAX one.