Extract the created JSON data tree
Source position: jsonwriter.pp line 95
public function TJSONDataWriter.ExtractData: TJSONData; |
The created JSON data structure with ownership transferred to caller
ExtractData returns the complete JSON data structure that has been built and transfers ownership to the caller. After calling this method, the writer no longer owns the JSON data, and the caller is responsible for freeing it. This method calls Flush internally to validate the state before extraction.
EJSONWriter is raised if no objects have been created on the stack.
|
Validate the internal state for data extraction |
|
|
Base (abstract) object for all JSON based data types. |
|
|
Exception class for JSON writing errors |