-Added missing files from Silverlight projects
-Fixed JsonWriter depth error when writing current JsonReader position -Fixed JsonSerializer not fulling skipping properties when putting together constructor values -Changed JsonSerializer so that property names and constructor params matching is no longer case sensitive
This commit is contained in:
@@ -367,7 +367,10 @@ namespace Newtonsoft.Json
|
||||
throw MiscellaneousUtils.CreateArgumentOutOfRangeException("TokenType", reader.TokenType, "Unexpected token type.");
|
||||
}
|
||||
}
|
||||
while (reader.Read() && (currentDepth - 1 < reader.Depth || (currentDepth == reader.Depth && !IsEndToken(reader.TokenType))));
|
||||
while (
|
||||
// stop if we have reached the end of the token being read
|
||||
currentDepth - 1 < reader.Depth - (IsEndToken(reader.TokenType) ? 1 : 0)
|
||||
&& reader.Read());
|
||||
}
|
||||
|
||||
private bool IsEndToken(JsonToken token)
|
||||
|
||||
Reference in New Issue
Block a user