#1 2020-06-13 10:41:24

zekeriye
Member
Registered: 2016-06-09
Posts: 15

Which methods usefull for converting record to JSON

Hi;

Firstly thanks to Arnaud and other contributors of mormot framework. It is a greate and very nice framework.

I will make an integration system to another program so I deciced to make of this using with http basic Rest interface based service.

I started with point an example (Samples\ThirdPartyDemos\George\REST-tester).

But I need to retrive and send some records to client. I used connecting the server ZeosDBO.
Zeosbo Query component is enought for retriving data from Sql Server

Which methods or function usefull  I can use for converting JSON and sending  record/records to clients?


PS: Sory for my bad and poor english.

Offline

#2 2020-06-13 12:05:09

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: Which methods usefull for converting record to JSON

Thanks for the interrest!

On Delphi or FPC?
Using RAD (components) or regular code?

Offline

#3 2020-06-13 12:17:20

zekeriye
Member
Registered: 2016-06-09
Posts: 15

Re: Which methods usefull for converting record to JSON

Hi;

This project is coding with XE7.
Connection using via zeosDB components other all codes.
Because project will running as a windows service.
Only Clients has got a gui mobile, Windows Desktop App or Web Browser.

Offline

#4 2020-06-13 13:37:39

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: Which methods usefull for converting record to JSON

Please read the FAQ of the documentation.
For instance:
https://synopse.info/files/html/Synopse … l#TITL_123

There is also some simple material at
https://tamingthemormot.wordpress.com/

Offline

Board footer

Powered by FluxBB