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 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOS

Delphi XE7 Firemonkey JSON To Delphi Class | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOSDeveloper 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

AutoBlogAI: FireMonkey Client To Leverage LLMs And Generative AI For Blogging


Unleashing Creativity With Song Writer AI: A Deep Dive


How To Build Stable Diffusion Text To Image Prompts


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

Sign up for our Newsletter and
stay informed

Leave a Reply