Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey, Delphi Android, Delphi IOS

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.

Exit mobile version