Beamable SDK
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Beamable.Serialization.SmallerJSON.StringBasedParser Struct Reference
Inheritance diagram for Beamable.Serialization.SmallerJSON.StringBasedParser:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Serialization.SmallerJSON.StringBasedParser:
Collaboration graph
[legend]

Classes

struct  StringCacheEntry
 
struct  StringSlice
 

Public Types

enum  TOKEN {
  NONE, CURLY_OPEN, CURLY_CLOSE, SQUARED_OPEN,
  SQUARED_CLOSE, COLON, COMMA, STRING,
  NUMBER, TRUE, FALSE, NULL
}
 

Public Member Functions

void Dispose ()
 
IDictionary< string, object > ParseObject ()
 
string StringFromCache (StringSlice slice)
 
List< object > ParseArray ()
 
object ParseValue ()
 
object ParseByToken (TOKEN token)
 
string ParseString (bool useCache)
 
object ParseNumber ()
 
double ParseFloatingPoint (string numberString, bool negative)
 
void EatWhitespace ()
 
char PeekChar ()
 
char NextByte ()
 
bool ReadFalse ()
 
bool ReadTrue ()
 
bool ReadNull ()
 
TOKEN NextToken ()
 

Static Public Member Functions

static bool IsWhiteSpace (char c)
 
static int ParseHexByte (char hexByte)
 

Public Attributes

readonly string _chars
 
readonly int _length
 
int _pos
 
readonly StringCacheEntry[] _stringCache
 
int _stringCacheCounter
 

Static Public Attributes

static StringCacheEntry[] sPooledStringCache
 

The documentation for this struct was generated from the following file: