Alex Rivera | Logout

Delphi JSON library for XE2 available for object serialization

Asked 2011-10-11T20:04:47.810
13

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)

Edit
Report

2 Answers

10

I know of two libraries.

The built in library and Super Object.

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

answered 2011-10-11T23:11:24.477
5

DWScript has a dwsJSON unit which implements a fast JSON parser & writer, it doesn't rely on RTTI/TPersistent but on mapping by custom code.

answered 2011-10-12T06:42:29.240

Your Answer