Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi JSON library for XE2 available for object serialization [closed]

There appears to be a few JSON options for Delphi out there - is there a recommended library for use with XE2? I'm looking for sharing of objects between Delphi XE2 and PHP web applications. (serialization and posting delphi objects in a compatible way for PHP web apps and de-serialization from a restful PHP call to delphi server side)

like image 448
Darian Miller Avatar asked Oct 11 '11 20:10

Darian Miller


2 Answers

JSON support* is included in XE2 (and XE). JSON

See this thread in SO for a link to a paper by Marco, explaining use of JSON and restful implementations.

REST Servers in Delphi XE Using DataSnap

  • Note : This is valid for the Enterprise and up version.
like image 160
LU RD Avatar answered Oct 23 '22 06:10

LU RD


I know of two libraries.

The built in library and Super Object.

I use Super Object as it's really easy to use.

like image 45
Robert Love Avatar answered Oct 23 '22 05:10

Robert Love