Table of Contents

Class Json.Parser

Namespace
Global
Assembly
Assembly-CSharp.dll
public sealed class Json.Parser : IDisposable
Inheritance
Json.Parser
Implements
Inherited Members

Constructors

Parser(string)

public Parser(string jsonString)

Parameters

jsonString string

Fields

WHITE_SPACE

public const string WHITE_SPACE = " \t\n\r"

Field Value

string

WORD_BREAK

public const string WORD_BREAK = " \t\n\r{}[],:\""

Field Value

string

json

public StringReader json

Field Value

StringReader

Properties

NextChar

public char NextChar { get; }

Property Value

char

NextToken

public Json.Parser.TOKEN NextToken { get; }

Property Value

Json.Parser.TOKEN

NextWord

public string NextWord { get; }

Property Value

string

PeekChar

public char PeekChar { get; }

Property Value

char

Methods

Dispose()

public void Dispose()

EatWhitespace()

public void EatWhitespace()

Parse(string)

public static object Parse(string jsonString)

Parameters

jsonString string

Returns

object

ParseArray()

public List<object> ParseArray()

Returns

List<object>

ParseByToken(TOKEN)

public object ParseByToken(Json.Parser.TOKEN token)

Parameters

token Json.Parser.TOKEN

Returns

object

ParseNumber()

public object ParseNumber()

Returns

object

ParseObject()

public Dictionary<string, object> ParseObject()

Returns

Dictionary<string, object>

ParseString()

public string ParseString()

Returns

string

ParseValue()

public object ParseValue()

Returns

object