Datasnap.DSService.TDSJSONService.ProcessJSONCommand
| [–] Properties | |
|---|---|
| Type: procedure function
| |
| Visibility: protected | |
| Source: Datasnap.DSService.pas Datasnap.DSService.hpp
| |
| Unit: Datasnap.DSService | |
| Parent: TDSJSONService | |
Delphi
procedure ProcessJSONCommand(Content: TArray<Byte>; ResponseHandler: TRequestCommandHandler);
C++
void __fastcall ProcessJSONCommand(System::DynamicArray<System::Byte> Content, Data::Dbxcommon::TRequestCommandHandler* ResponseHandler);
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.