Create JSON scanner instance
Source position: jsonscanner.pp line 129
public constructor TJSONScanner.Create( |
Source: TStream; |
AUseUTF8: Boolean = True |
); overload; |
Source: TStream; |
AOptions: TJSONOptions |
); overload; |
const aSource: RawByteString; |
AUseUTF8: Boolean = True |
); overload; |
const aSource: RawByteString; |
AOptions: TJSONOptions |
); overload; |
Source |
|
Input stream containing JSON data |
AUseUTF8 |
|
Enable UTF-8 string encoding |
Source |
|
Input stream containing JSON data |
AOptions |
|
Scanner options set |
aSource |
|
Raw byte string containing JSON data |
AUseUTF8 |
|
Enable UTF-8 string encoding |
aSource |
|
Raw byte string containing JSON data |
AOptions |
|
Scanner options set |
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.
May raise exceptions during source loading from streams.
|
Set of JSON scanner options |
|
|
Default scanner options |