-JsonTextReader, BsonReader performance

-Fix dictionary key encoding when serializing
-Fix WrappedDictionary being set to a property when deserializing
-Fix Silverlight serialization security error
This commit is contained in:
JamesNK
2010-01-01 23:13:35 +00:00
parent 974178a162
commit 324c4e4bc5
25 changed files with 971 additions and 566 deletions
@@ -56,7 +56,7 @@ namespace Newtonsoft.Json.Utilities
public void Append(char value)
{
// test if the buffer array is large enough to take the value
if (_position + 1 > _buffer.Length)
if (_position == _buffer.Length)
{
EnsureSize(1);
}