Datasnap.DSService.TDSJSONService.ProcessJSONCommand
Delphi
procedure ProcessJSONCommand(Content: TArray<Byte>; ResponseHandler: TRequestCommandHandler);
C++
void __fastcall ProcessJSONCommand(System::DynamicArray<System::Byte> Content, Data::Dbxcommon::TRequestCommandHandler* ResponseHandler);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Datasnap.DSService.pas Datasnap.DSService.hpp |
Datasnap.DSService | TDSJSONService |
Description
Processes a JSON command found by parsing the given content.
The ProcessJSONCommand method transforms the received Content into a JSON value and dispatches the JSON request to the appropriate processing method. If the JSON content cannot be parsed from the content, an exception is thrown.