
JSON TO AL CONVERTER
Since I am very lazy and I didn’t find any AL code generator I decided to develop it on my own.
My app gets a JSON file as input and, for each entity present, it automatically generates three files :
1) the AL table ;
2) the AL page ;
3) the AL API page ;
The AL code is SaaS/Cloud ready (I’m not sure if it works on OnPremise, but it should) . It is targeting the current Business Central version : 17.2. I am planning to migrate it as a Visual Studio extension soon.
It’s really simple to use, you have a demo video below.
EXECUTABLE
If you don’t want to compile the VS2019 solution you can get the application executable from here:
http://www.katanet.it/download/JsonToAlConverter.zip
It requires framework installed.
SOURCES
Source code is available.
https://github.com/avalonit/JsonToAlConverter
REFERENCES
This project is a fork of existing C# class generator from JSON.
JSON C# Class Generator (xamasoft.com)
https://www.xamasoft.com/json-class-generator/
LAST UPDATED
8th of January, 2021
23rd of March, 2021 (updated github)
[…] Source : Yet another http://www.business-central.blog Read more… […]
LikeLiked by 1 person
Not possible to download executable – broken link?
LikeLike
You’re right , I don’t know why WordPress block my ZIP file so I uploaded to another repository. Here you have: http://www.katanet.it/download/JsonToAlConverter.zip
LikeLike
There is something that maybe could also be interesting for you: mdAL (https://marketplace.visualstudio.com/items?itemName=joneug.mdal). You create a definition and then a complete module gets created basically.
Here is blog post explaining some more: https://www.waldo.be/2020/12/18/model-driven-software-development-for-business-central-with-mdal/
And here is the link to the projects page: https://mdal-lang.github.io/#/
Cheers
Simon
LikeLike