-Add support for reading octal and hexadecimal numbers from JSON

-Fix serializing indexed properties
-Fix serializing JRaw properties
This commit is contained in:
JamesNK
2010-01-08 08:12:40 +00:00
parent 324c4e4bc5
commit 75649bfa00
14 changed files with 236 additions and 78 deletions
-3
View File
@@ -111,7 +111,6 @@ namespace Newtonsoft.Json
protected State CurrentState
{
get { return _currentState; }
private set { _currentState = value; }
}
private int _top;
@@ -172,10 +171,8 @@ namespace Newtonsoft.Json
/// </summary>
protected JsonReader()
{
//_testBuffer = new StringBuilder();
_currentState = State.Start;
_stack = new List<JTokenType>();
_top = 0;
Push(JTokenType.None);
}