Creates a new JSON reader with specified source and options
Source position: jsonreader.pp line 69
public constructor TBaseJSONReader.Create( |
Source: TStream; |
AUseUTF8: Boolean = True |
); overload; |
const Source: RawByteString; |
AUseUTF8: Boolean = True |
); overload; |
Source: TStream; |
AOptions: TJSONOptions |
); overload; |
const Source: RawByteString; |
AOptions: TJSONOptions |
); overload; |
const Source: UnicodeString; |
AOptions: TJSONOptions |
); overload; |
Source |
|
JSON source data stream, string or unicode string |
AUseUTF8 |
|
Whether to use UTF-8 encoding for string processing |
Source |
|
JSON source data stream, string or unicode string |
AUseUTF8 |
|
Whether to use UTF-8 encoding for string processing |
Source |
|
JSON source data stream, string or unicode string |
AOptions |
|
JSON parsing options to control reader behavior |
Source |
|
JSON source data stream, string or unicode string |
AOptions |
|
JSON parsing options to control reader behavior |
Source |
|
JSON source data stream, string or unicode string |
AOptions |
|
JSON parsing options to control reader behavior |
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.
May raise exceptions if the source cannot be accessed or is invalid.
|
Destroys the JSON reader and frees resources |
|
|
JSON parsing options that control reader behavior |