|
BGC Tools
|
Represents a reader that can read JsonValues. More...

Static Public Member Functions | |
| static JsonValue | Parse (TextReader reader) |
| Creates a JsonValue by using the given TextReader. More... | |
| static JsonValue | Parse (string source) |
| Creates a JsonValue by reader the JSON message in the given string. More... | |
| static JsonValue | ParseFile (string path) |
| Creates a JsonValue by reading the given file. More... | |
Private Member Functions | |
| JsonReader (TextReader reader) | |
| string | ReadJsonKey () |
| JsonValue | ReadJsonValue () |
| JsonValue | ReadNull () |
| JsonValue | ReadBoolean () |
| void | ReadDigits (StringBuilder builder) |
| JsonValue | ReadNumber () |
| string | ReadString () |
| int | ReadHexDigit () |
| char | ReadUnicodeLiteral () |
| JsonObject | ReadObject () |
| JsonObject | ReadObject (JsonObject jsonObject) |
| JsonArray | ReadArray () |
| JsonArray | ReadArray (JsonArray jsonArray) |
| JsonValue | Parse () |
Private Attributes | |
| readonly TextScanner | scanner |
Represents a reader that can read JsonValues.
Definition at line 13 of file JsonReader.cs.
|
inlineprivate |
Definition at line 17 of file JsonReader.cs.
|
inlineprivate |
Definition at line 345 of file JsonReader.cs.
Referenced by BGC.IO.ResourceInfo.InitializeResourceInfo(), LightJson.JsonValue.operator==(), LightJson.Serialization.JsonReader.Parse(), LightJson.Serialization.JsonReader.ParseFile(), BGC.IO.FileReader.ReadJsonStream(), and BGC.IO.FileReader.SafeReadJsonString().

|
inlinestatic |
Creates a JsonValue by using the given TextReader.
| reader | The TextReader used to read a JSON message. |
Definition at line 355 of file JsonReader.cs.
References LightJson.Serialization.JsonReader.Parse().

|
inlinestatic |
Creates a JsonValue by reader the JSON message in the given string.
| source | The string containing the JSON message. |
Definition at line 369 of file JsonReader.cs.
References LightJson.Serialization.JsonReader.Parse().

|
inlinestatic |
Creates a JsonValue by reading the given file.
| path | The file path to be read. |
Definition at line 386 of file JsonReader.cs.
References LightJson.Serialization.JsonReader.Parse().
Referenced by BGC.IO.FileReader.ReadJsonFile().


|
private |
Definition at line 303 of file JsonReader.cs.
References LightJson.JsonArray.Add().

|
inlineprivate |
Definition at line 63 of file JsonReader.cs.
|
inlineprivate |
Definition at line 82 of file JsonReader.cs.
|
inlineprivate |
Definition at line 203 of file JsonReader.cs.
|
private |
|
inlineprivate |
Definition at line 24 of file JsonReader.cs.
|
inlineprivate |
Definition at line 57 of file JsonReader.cs.
References LightJson.JsonValue.Null.
|
inlineprivate |
Definition at line 90 of file JsonReader.cs.
|
private |
|
inlineprivate |
Definition at line 244 of file JsonReader.cs.
References LightJson.JsonObject.Add(), and LightJson.JsonObject.ContainsKey().

|
inlineprivate |
Definition at line 136 of file JsonReader.cs.
|
inlineprivate |
Definition at line 230 of file JsonReader.cs.
|
private |
Definition at line 15 of file JsonReader.cs.
1.8.13