Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/viniciussanchez/dataset-serialize-adapter-restrequest4delphi
DataSet-Serialize adapter for RESTRequest4Delphi
https://github.com/viniciussanchez/dataset-serialize-adapter-restrequest4delphi
adapter api client delphi lazarus request rest restrequest4delphi rr4d
Last synced: 10 days ago
JSON representation
DataSet-Serialize adapter for RESTRequest4Delphi
- Host: GitHub
- URL: https://github.com/viniciussanchez/dataset-serialize-adapter-restrequest4delphi
- Owner: viniciussanchez
- License: mit
- Created: 2023-05-30T18:13:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-06T23:07:13.000Z (10 months ago)
- Last Synced: 2024-11-07T08:51:32.888Z (about 2 months ago)
- Topics: adapter, api, client, delphi, lazarus, request, rest, restrequest4delphi, rr4d
- Language: Pascal
- Homepage: https://go.hotmart.com/U88695509H
- Size: 12.7 KB
- Stars: 31
- Watchers: 2
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DataSet-Serialize Adapter for RESTRequest4Delphi
This's DataSet-Serialize adapter for RESTRequest4Delphi. Allows loading a DataSet with the content of a request.
Buy our official training by clicking here! We created a channel on Telegram for questions and support:
## ⭕ Prerequisites
* [**DataSet-Serialize**](https://github.com/viniciussanchez/dataset-serialize) - JSON to DataSet and DataSet to JSON converter for Delphi and Lazarus (FPC)
* [**RESTRequest4Delphi**](https://github.com/viniciussanchez/RESTRequest4Delphi) - API to consume REST services written in any programming language with support to Lazarus and Delphi
## ⚙️ Installation
Installation is done using the [`boss install`](https://github.com/HashLoad/boss) command:
``` sh
boss install github.com/viniciussanchez/dataset-serialize-adapter-restrequest4delphi
```
If you choose to install manually, simply add the following folders to your project, in *Project > Options > Building > Delphi Compiler > Search path*
```
../dataset-serialize-adapter-restrequest4delphi/src
```## ✔️ Compatibility
This adapter is compatible with projects developed in:
- [X] Delphi
- [X] Lazarus## ⚡️ Quickstart
```delphi
uses RESTRequest4D, DataSet.Serialize.Adapter.RESTRequest4D;
begin
TRequest.New.BaseURL('http://localhost:8888/users')
.Adapters(TDataSetSerializeAdapter.New(mtUsers, 'my-optional-root-element'))
.Accept('application/json')
.Get;
end;
```## ⚠️ License
`dataset-serialize-adapter-restrequest4delphi` is free and open-source adapter licensed under the [MIT License](https://github.com/viniciussanchez/dataset-serialize-adapter-restrequest4delphi/blob/main/LICENSE).