ChangeLog 2.7 KB

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