Delphi JSON library for XE2 available for object serialization

Darian Miller picture Darian Miller · Oct 11, 2011 · Viewed 18k times · Source

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)

Answer

LU RD picture LU RD · Oct 11, 2011

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.