Skip to content

TJSONStringParserHandler

JSON String value parser handler prototype.

Declaration

Source position: fpjson.pp line 793

type
  TJSONStringParserHandler = procedure(const aJSON: TJSONStringType; 
                                     const AUseUTF8: Boolean; 
                                     out Data: TJSONData);

Arguments

Name Description
aJSON JSON string.
AUseUTF8 Assume string is in UTF8.
Data Resulting TJSONData.

Description

TJSONStringParserHandler is the prototype for the handler to convert a JSON string to a TJSONData. It is used in the SetJSONStringParserHandler and GetJSONStringParserHandler calls.

See also

Name Description
TJSONData Base (abstract) object for all JSON based data types.
SetJSONStringParserHandler Install a JSON string to JSON Data conversion callback.