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)
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
I know of two libraries.
The built in library and Super Object.
I use Super Object as it's really easy to use.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With