O'Reilly logo

Delphi Cookbook - Second Edition by Daniele Teti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Serializing a dataset to JSON and back

At the time when almost all the Delphi program was client/server or, in general, when the Delphi program was always connected to the database server in a fully-connected scenario, dataset serialization was a niche topic. There were really only a few situations where you really needed this kind of functionality in the core of your application. Were the '90! Now, however, making your data available to other programs or getting data from other software running somewhere in the world is the norm. In some cases, the other "programs" are not written in Delphi, so the DataSet.SaveToFile method, or another serialization that uses a proprietary or "exotic" format, is no longer enough.

Let's say we have a JavaScript ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required