C# Class MongoDB.Bson.IO.JsonScanner

A static class that represents a JSON scanner.
Mostra file Open project: egametang/Egametang Class Usage Examples

Public Methods

Method Description
GetNextToken ( JsonBuffer buffer ) : JsonToken

Gets the next JsonToken from a JsonBuffer.

Private Methods

Method Description
FormatMessage ( string message, JsonBuffer buffer, int start ) : string
GetNumberToken ( JsonBuffer buffer, int firstChar ) : JsonToken
GetRegularExpressionToken ( JsonBuffer buffer ) : JsonToken
GetStringToken ( JsonBuffer buffer, char quoteCharacter ) : JsonToken
GetUnquotedStringToken ( JsonBuffer buffer ) : JsonToken

Method Details

GetNextToken() public static method

Gets the next JsonToken from a JsonBuffer.
public static GetNextToken ( JsonBuffer buffer ) : JsonToken
buffer JsonBuffer The buffer.
return JsonToken