TBaseJSONReader.Create constructor deprecated
Creates a new JSON reader with specified source and options
Declaration
constructor Create(Source: TStream; AUseUTF8: Boolean=True); overload
constructor Create(const Source: RawByteString; AUseUTF8: Boolean=True)
; overload
constructor Create(Source: TStream; AOptions: TJSONOptions); overload
constructor Create(const Source: RawByteString; AOptions: TJSONOptions)
; overload
constructor Create(const Source: UnicodeString; AOptions: TJSONOptions)
; overloadArguments
Source | JSON source data stream, string or unicode string |
AUseUTF8 | Whether to use UTF-8 encoding for string processing |
AOptions | JSON parsing options to control reader behavior |
Description
Creates a new
TBaseJSONReader instance with the specified JSON source and parsing options.
The constructor initializes the internal
TJSONScanner with the provided source and options.
Multiple overloaded versions are available for different source types and option configurations.
Errors
May raise exceptions if the source cannot be accessed or is invalid.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
