[Lazarus] Lazarus applications as webpaged

Michael Van Canneyt michael at freepascal.org
Sun Aug 30 22:21:18 CEST 2015



On Sun, 30 Aug 2015, Aradeonas wrote:

> Very good.So  what library do you use for making JSON API? tiPOF or
> fpweb?

Both.

I read business objects with tiOPF using the tiSQLdb visitors, and 
stream using fpweb.

I have almost finishing writing a unit - which I will commit to FPC very 
soon - that takes a *sample* json file and creates an object from it.
The object does not depend on anything, and contains code to stream it 
from/to json in the format that was used to create it.

It should make consuming/producing REST services (using JSON, obviously) very easy. 
I will integrate it in the jsonviewer application distributed with Lazarus.

Michael.




More information about the Lazarus mailing list