TJSONScanner.Create constructor deprecated
Create JSON scanner instance
Declaration
constructor Create(Source: TStream; AUseUTF8: Boolean=True); overload
constructor Create(Source: TStream; AOptions: TJSONOptions); overload
constructor Create(const aSource: RawByteString; AUseUTF8: Boolean=True)
; overload
constructor Create(const aSource: RawByteString; AOptions: TJSONOptions)
; overloadArguments
Source | Input stream containing JSON data |
AUseUTF8 | Enable UTF-8 string encoding |
AOptions | Scanner options set |
aSource | Raw byte string containing JSON data |
Description
Creates a new JSON scanner instance.
Can be initialized with either a
TStream or a raw byte string source.
Accepts optional scanning options to control parsing behavior.
Errors
May raise exceptions during source loading from streams.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
