Class TgoJsonReader
Unit
Grijjy.Bson.IO
Declaration
type TgoJsonReader = class(TgoBsonBaseReader, IgoJsonReader)
Description
Stock implementation of the IgoJsonReader interface.
Hierarchy
Overview
Internal Types
Methods
Description
Internal Types
|
TTokenType = (...); |
Values
-
Invalid:
-
BeginArray:
-
BeginObject:
-
EndArray:
-
LeftParen:
-
RightParen:
-
EndObject:
-
Colon:
-
Comma:
-
DateTime:
-
Double:
-
Int32:
-
Int64:
-
ObjectId:
-
RegularExpression:
-
String:
-
UnquotedString:
-
EndOfFile:
|
Methods
|
class constructor Create; |
|
|
constructor Create(const AJson: String); |
Creates a JSON reader.
Parameters
- AJson
- the JSON string to parse.
|
|
destructor Destroy; override; |
Destructor
|
|
class function Load(const AFilename: String): IgoJsonReader; overload; static; |
Creates a JSON reader from a file.
Parameters
- AFilename
- the name of the file containing the JSON data.
|
|
class function Load(const AStream: TStream): IgoJsonReader; overload; static; |
Creates a JSON reader from a stream.
Parameters
- AStream
- the stream containing the JSON data.
|
Generated by P2PasDoc 0.13.0 on 2017-04-25 12:54:26
|