Hi,
you can use Odata in json mode. though we support only Odata v1, it is possible to perform common operations like Select, Insert, Update, Delete.
correspondent http methods will be:
- GET /path/%table - to a listing of ALL records in table
- GET /path/%table/%IDVALUE - to a listing of just that record
- POST - add a new record
- PUT /path/%table/%IDVALUE - to update a record in the table
- DELETE /path/%table/%IDVALUE - to delete a row.
see examples in What's happening with ODATA? - #17 by EvgenyK topic
you can convert any dataset to IDADataset
with uDADatasetWrapper.TDatasetWrapper
.
later this IDADataset
can be serialized/deserialized to/from json with uDAJSONDataStreamer.TDAJSONDataStreamer.