News

DataSet Mapping to JSON for JavaScript client support in RAD Studio 10.2.2

RAD Studio has offered support for JSON in different ways and for a long time. From the JSON system unit (originally part of the DBX space) to the old DataSnap table mapping (also via DBX) and to FireDAC tables to JSON mapping, there are many ways to interact with JSON data structures. However, until the most recent release, we lacked a way to map a dataset to a custom JSON structure — the…
Read more
News

Implementing AJAX and JSONP Support in RAD Server for ExtJS

Idera recently acquired Sencha (https://www.sencha.com/) and has added the company products to the Embarcadero business unit, which produced RAD Studio and also the RAD Server web service technology. A natural question arises on how to use the two products together. While…
Delphi

Generate Cross Platform Dynamic Forms At Runtime From JSON In Delphi 10.2.1 Tokyo

The Hospitality Survey Client project is part of the Hospitality Survey App template for Delphi 10.2.1 Tokyo that Embarcadero has released through their GetIt platform. The Hospitality Survey App consists of four different projects. In this blog post I will cover thedynamic form generator that is built into the Hospitality Survey Client project. Also keep in mind that the client can be…
Read more
News

Use TRESTDataSetAdapter with arbitrary JSON

One basic questionI get asked is howcan I convert arbitrary JSON into some kind of data structure such that I can extract useful data? One solution is to use the TRESTDataSetAdapter with arbitrary JSON. TheTRESTDataSetAdapterandTClientDataSetcomponents convert theJSONrepresentation into a dataset. The TRESTDataSetAdapter has many nice…
Read more
C++

Visualize JSON using TTreeView

Author: h.mohri I tried a program that reads a JSON file in C++Builder VCL and displays it in TTreeView component. This project file is open to public from github. github.com/mojeld https://www.microsoft.com/store/productid/9PLPHK05PJF7 Place two…
Delphi

Using Delphi, from Excel to JSON, then FireDAC[JAPAN]

Author: John D7279 //// class function ExcelToJson(cells: TRect; excel_filename, sheet_name: String):TJSONObject; It is a code for excel to JSON. //// class function TExcelToFireDAC.ExcelToJson(cells: TRect; excel_filename, sheet_name: String): TJSONObject; const def_excel_application = 'Excel.Application'; var jres: TJSONObject; jline: TJSONObject; ExcelApp…
Read more