Class JsonReader
Reads a JSON (RFC 4627) encoded value as a stream of tokens.
Inheritance
System.Object
JsonReader
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DevZest.Data.Primitives
Assembly: DevZest.Data.dll
Syntax
public abstract class JsonReader
Constructors
| Name | Description |
|---|---|
| JsonReader(IJsonCustomizer) | Initializes a new instance of JsonReader class. |
Properties
| Name | Description |
|---|---|
| Customizer | Gets the customizer. |
Methods
| Name | Description |
|---|---|
| ConsumeToken() | Advances to next token position. |
| Create(String, IJsonCustomizer) | Creates JsonReader object from JSON string. |
| Deserialize(Column, Int32, JsonValue) | Deserializes specified JsonValue into column data value. |
| ExpectEof() | Expects current token is Eof. |
| ExpectNullableStringProperty(String, Boolean) | Expects a named nullable string property. |
| ExpectPropertyName(String) | Expects current token as specified property name. |
| ExpectStringProperty(String, Boolean) | Expects a named string property. |
| ExpectToken(JsonTokenKind) | Expects current token is specified kind. |
| IsDeserializable(Column) | Determines whether specified column is deserializable. |
| NextToken() | Reads next token. |
| PeekToken() | Reads current token without advancing to next token position. |