Skip to content

TJSONToPascal.Execute

Generates Pascal code from JSON data

Declaration

Source position: fpjsontopas.pp line 146

public 
procedure TJSONToPascal.Execute;

Description

Execute is the main method that performs the JSON to Pascal code generation. It analyzes the JSON data from JSONData, JSONStream, or JSON properties and generates complete Pascal unit code.

The generated code is stored in the Code property and includes class declarations, property definitions, and optional serialization methods based on the configured options.