Class TgoJsonReader

DescriptionHierarchyInternal TypesFieldsMethodsProperties

Unit

Declaration

type TgoJsonReader = class(TgoBsonBaseReader, IgoJsonReader)

Description

Stock implementation of the IgoJsonReader interface.

Hierarchy

Overview

Internal Types

Published TTokenType = (...);

Methods

Public class constructor Create;
Public constructor Create(const AJson: String);
Public destructor Destroy; override;
Public class function Load(const AFilename: String): IgoJsonReader; overload; static;
Public class function Load(const AStream: TStream): IgoJsonReader; overload; static;

Description

Internal Types

Published TTokenType = (...);
 
Values
  • Invalid:  
  • BeginArray:  
  • BeginObject:  
  • EndArray:  
  • LeftParen:  
  • RightParen:  
  • EndObject:  
  • Colon:  
  • Comma:  
  • DateTime:  
  • Double:  
  • Int32:  
  • Int64:  
  • ObjectId:  
  • RegularExpression:  
  • String:  
  • UnquotedString:  
  • EndOfFile:  

Methods

Public class constructor Create;
 
Public constructor Create(const AJson: String);

Creates a JSON reader.

Parameters
AJson
the JSON string to parse.
Public destructor Destroy; override;

Destructor

Public 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.
Public 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