System.JSON.BSON.TBsonReader.Create
Delphi
constructor Create(const AStream: TStream; AReadAsRootValuesArray: Boolean = False);
C++
__fastcall TBsonReader(System::Classes::TStream* const AStream, bool AReadAsRootValuesArray);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | System.JSON.BSON.pas System.JSON.BSON.hpp |
System.JSON.BSON | TBsonReader |
Description
Creates an instance of TBsonReader that reads data from the specified stream.
AReadAsRootValuesArray
must indicate whether the root structure of the source BSON data is a BSON object (False
) or a BSON array (True
).