Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AndroidAppmethodComponentDelphiFiremonkeyIOSOSXWindows

Automatically JSON Serialize A DataSet For REST In Delphi XE6 Firemonkey On Android And IOS

Delphi XE6 Firemonkey REST DataSet To Request Adapter JSONAndrea Magni from Italy has a blog post up with a new component called TDataSetRESTRequestAdapter for Delphi XE6 Firemonkey (and probably XE5 and AppMethod). What this component does is take a TDataSet and serialize it into JSON for uploading it via the TRESTRequest component. Currently, Firemonkey ships with a TRESTResponseDataSetAdapter which takes JSON from a server and puts it into a TDataSet. An example dataset component that you can use is TFDMemTable. This new component from Andrea completes the loop and allows you to make a round trip with your data. I’ve actually been thinking about a function for serializing a SQLite client side database after building various JSON deserialization and serialization functions but I think this new TDataSetRESTRequestAdapter may take care of that problem for me. The blog post is in Italian so use Chrome and translate it if needed. The component is free and available on Github. The component should work on Android, IOS, Windows, and OSX just like the other REST components. It also includes a demo project which shows how to use it.

Head over and check out the full blog post explaining TDataSetRESTRequestAdapter for Firemonkey.

Or head over to GitHub directory and download the full source code for the TDataSetRESTRequestAdapter for Delphi XE6 Firemonkey.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts
AndroidC++BuilderCode SnippetDelphiDemoFiremonkeyIOSOSXShowcaseWindows

Powerful Cross Platform Email App Sample In Delphi 10.4.1 FireMonkey For Android And IOS

AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

Significant Update Available For Delphi FireMonkey 10.4.1 On Android, IOS, OSX, Windows, And Linux

C++BuilderDelphiIDEWindows

Professional SVG Icon Image List For Delphi 10.4 FireMonkey On Windows

AndroidC++BuilderDelphiFiremonkeyIOSLiveBindingsOSXWindows

Top Tips And Tricks To Speed Up Development With Delphi 10.4 FireMonkey On Android and IOS

Sign up for our Newsletter and
stay informed

Leave a Reply