Unit 'fpjson' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TJSONStringParserHandler

JSON String value parser handler prototype.

Declaration

Source position: fpjson.pp line 781

type TJSONStringParserHandler = procedure(

  const aJSON: TJSONStringType;

  const AUseUTF8: Boolean;

  out Data: TJSONData

);

Arguments

aJSON

  

JSON string.

AUseUTF8

  

Assume string is in UTF8.

Data

  

Resulting TJSONData.

Description

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

See also

TJSONData

  

Base (abstract) object for all JSON based data types.

SetJSONStringParserHandler

  

Install a JSON string to JSON Data conversion callback.


Documentation generated on: Nov 22 2024