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
AndroidC++BuilderCode SnippetDelphiDemoFiremonkeyIOSOSXShowcaseWindows

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


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


Professional SVG Icon Image List For Delphi 10.4 FireMonkey On Windows


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