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


JSON To Delphi Class Generator Wizard For Delphi XE7 Firemonkey On Android And IOS

Delphi XE7 Firemonkey JSON To Delphi ClassDeveloper Petar Georgiev has released a JSON to Delphi Class app built in Delphi XE7 Firemonkey. The application itself is built with Firemonkey and it outputs Object Pascal code from JSON input. What this means is that you can take a complex JSON string and it will generate Object Pascal source code in the form of a class including all of the strongly typed variables like booleans, integers, and strings. If you have ever used the XML Data Binding wizard this functionality is similar except for JSON. The UI of the app which is built in Firemonkey also appears to contain functionality which allows you to rename properties and change the class name as well. The application is free and available on Github. It is able to handle Delphi reserve words and other class name collisions. I haven’t tried it but according to the blog post it also comes with helper functions to serialize and deserialize to and from JSON directly to the class. The generated class can probably be used with the TRESTClient component on Android, IOS, OSX, and Windows. You can probably also use this class in Appmethod.

Head over and check out the full blog post about the Json To Delphi Class app for Delphi XE7 Firemonkey. Or download the full source code directly off Github.


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

Related posts

FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes


Ryzen 9 5950x: One Billion Lines Of Delphi Code Compiled In ~5 Minutes On 16 Cores


DelphiCon 2020 FireMonkey Sessions Available Starting November 19


Powerful Commercial Gorilla3D Framework Upgraded For Delphi FireMonkey On Windows And Android

Sign up for our Newsletter and
stay informed

Leave a Reply