Commit Graph
5 Commits
Author SHA1 Message Date
Marek Safar 4557955387 Fix JsonReaderWriterFactory parameters names 2012-03-28 11:26:07 +01:00
Chris Toshok 7297458838 in System.ServiceModel.Web/System.Runtime.Serialization.Json:
2009-12-07  Chris Toshok  <[email protected]>

	* JsonReaderWriterFactory.cs (CreateJsonReader): pass null for the
	encoding parameter instead of calling Detect.  The jsonreader's
	PushbackReader will autodetect.
	(Detect): remove.  a BufferedStream created from an unseekable
	stream is itself unseekable, which makes it just as useless.  This
	breaks netflix's isostore file parsing.

	* JsonReader.cs (PushbackReader): add a ctor which doesn't take an
	encoding, for the autodetecting reader case.  for this ctor, pass
	true to StreamReader's ctor for detectEncodingFromByteOrderMarks.

svn path=/trunk/mcs/; revision=147829
2009-12-08 04:56:29 +00:00
Atsushi Eno 559e9dc912 2009-09-07 Atsushi Enomoto <[email protected]>
* JsonReaderWriterFactory.cs : check null stream (fix test failure).


svn path=/trunk/mcs/; revision=141411
2009-09-07 09:46:09 +00:00
Andreia Gaita 4302acae88 2009-03-12 Andreia Gaita <[email protected]>
* JsonReaderWriterFactory.cs: try to auto-detect encoding for streams
	without BOM

svn path=/trunk/mcs/; revision=129226
2009-03-12 23:40:03 +00:00
Jb Evain 982e3b35a4 move to from olive to mcs
svn path=/trunk/mcs/; revision=111188
2008-08-20 21:25:05 +00:00