khaouitiabdelhakim / Kotlin-To-Json

This repository contains a script to convert Kotlin translation files of the Holy Quran to JavaScript format. It provides a convenient way to extract information from Kotlin classes and generate new JavaScript files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kotlin to JSON Converter

This repository contains a script to convert Kotlin translation files of the Holy Quran to JavaScript format. It provides a convenient way to extract information from Kotlin classes and generate new JavaScript files.

Introduction

If you have translations of the Holy Quran stored in Kotlin format and need to convert them to JavaScript, this script is designed to assist you in this task. It simplifies the process of extracting data from Kotlin classes and transforming it into JSON-like format compatible with JavaScript.

Features

  • Converts Kotlin translation files to JavaScript format.
  • Simplifies the extraction of data from Kotlin classes.
  • Demonstrates the power of scripting and automation with Python.

Usage

  1. Prepare Kotlin Translation Files: Ensure that your translation files are in Kotlin format and contain the necessary data.

  2. Execute the Script: Run the provided Python script on your Kotlin files. The script will generate corresponding JavaScript files with the converted data.

  3. Customization: Modify the Python script as needed to suit your specific requirements. You can adjust the conversion logic or add additional functionalities.

Repository Structure

  • converter.py: Python script for converting Kotlin files to JavaScript.
  • translations/: Directory containing Kotlin translation files.
  • README.md: Documentation providing an overview of the repository and instructions for usage.

Installation

Clone this repository to your local machine to access the conversion script and sample Kotlin files.

git clone https://github.com/khaouitiabdelhakim/KOTLIN-TO-JSON.git

Contribution

If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request. Contributions are welcome!

About

This repository contains a script to convert Kotlin translation files of the Holy Quran to JavaScript format. It provides a convenient way to extract information from Kotlin classes and generate new JavaScript files.


Languages

Language:Kotlin 100.0%Language:Python 0.0%