Commit Graph
7 Commits
Author SHA1 Message Date
Marek Habersack 7b1d9f179c Removed original license since no substantial portions of the original software are used in our implementation 2012-11-08 13:42:48 +01:00
QuickJack d0b2d82e13 Fixes some warnings in System.Web.Extensions.dll 2011-12-29 15:59:41 +01:00
Marek Habersack 1dfc535d36 2009-03-06 Marek Habersack <[email protected]>
* JsonDeserializer.cs: unquoted key values must ignore leading
	and trailing whitespace

2009-03-06  Marek Habersack  <[email protected]>

	* JavaScriptSerializerTest.cs: added a test for unquoted tests
	surrounded with spaces.

svn path=/trunk/mcs/; revision=128801
2009-03-06 22:16:37 +00:00
Marek Habersack 4168d10fa1 Cleanup
svn path=/trunk/mcs/; revision=116714
2008-10-22 00:49:55 +00:00
Marek Habersack 0b087aff65 2008-10-22 Marek Habersack <[email protected]>
* JsonDeserializer.cs: object can contain more than one unquoted
	keys.

2008-10-22  Marek Habersack  <[email protected]>

	* JavaScriptSerializerTest.cs: added tests for deserialization of
	objects with more than one unquoted key names.

svn path=/trunk/mcs/; revision=116713
2008-10-22 00:46:42 +00:00
Marek Habersack b9c7ab7bc0 2008-09-20 Marek Habersack <[email protected]>
* JsonDeserializer.cs: added support for stand-alone NaN, Infinity
	and -Infinity values, as well as the same within an array.

2008-09-20  Marek Habersack  <[email protected]>

	* JavaScriptSerializerTest.cs: added some tests

svn path=/trunk/mcs/; revision=113596
2008-09-19 22:41:46 +00:00
Marek Habersack 93a1d2ad6c 2008-09-19 Marek Habersack <[email protected]>
* Json.cs: added new Serialize overload which takes a TextWriter
	for its output parameter.
	Added Deserialize methods.

	* JsonSerializer.cs: made InitialJavaScriptDateTicks internal.
	Added new Serialize overload which takes a TextWriter for its
	output parameter.
	Added WriteValue overloads for float and double - they must not be
	converted to strings as IConvertibles because their Max/MinValue
	end up converted incorrectly.

	* JavaScriptSerializer.cs: adjustments for the new JSON
	(de)serializer.

	* JsonDeserializer.cs: new JSON deserializer code, fully compliant
	with the .NET AJAX one.

2008-09-19  Marek Habersack  <[email protected]>

	* JavaScriptSerializerTest.cs: enabled some tests which were
	failing with the old (de)serializer, but work with the new one.

2008-09-19  Marek Habersack  <[email protected]>

	* System.Web.Extensions.dll.sources: removed most of the
	Newtonsoft JSON code, leaving only ReflectionUtils and
	JavaScriptUtils.


svn path=/trunk/mcs/; revision=113590
2008-09-19 21:13:55 +00:00