In this tdl i wrote a report which can be exported to JSON format
Load the tdl and open JsonReport which will be displayed in GatewayOfTally
In the report there is a button EXPORT JSON click on that button
Report will be exported to JSON with file name 'ListofLedgers.json'
Report will be exported to tally working directory
More Info can be found here: