Sign in Join
FPDoc Onlineexperiment

TJSONConsumerReader.Execute procedure

Member of TJSONConsumerReaderpublicIn unit JsonReader

Starts the JSON parsing process using the assigned consumer

Declaration

pascal
procedure Execute

Description

Execute starts the JSON parsing process. As JSON elements are encountered during parsing, the corresponding methods in the assigned IJSONConsumer are called if a consumer is assigned. The method processes the entire JSON input until completion or until an error is encountered.

Errors

Raises EJSONParser when invalid JSON syntax is encountered.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.