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

AndroidAppmethodDelphiFiremonkeyIOSOSXShowcaseUtilityWindows

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
DelphiDemoOSXWindows

Download, Run, And Chat With Local LLMs On Windows And macOS

Code SnippetDelphiDemoWindows

Build Local Vector Search And RAG Applications In Delphi

ComponentDelphiDemoLibraryPythonWindows

Add Real-Time Object Detection With YOLO And ONNX To Delphi Applications

Code SnippetDelphiLibraryWindows

Add Local AI Image Tagging To Delphi With Nothing More Than An ONNX Model

Sign up for our Newsletter and
stay informed
[mailpoet_form id="1"]

Leave a Reply