Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/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.
https://github.com/khaouitiabdelhakim/kotlin-to-json
json json-converter kotlin python script scripting
Last synced: 4 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/khaouitiabdelhakim/kotlin-to-json
- Owner: khaouitiabdelhakim
- Created: 2024-03-17T15:38:49.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-03-17T15:39:27.000Z (9 months ago)
- Last Synced: 2024-10-31T05:25:11.924Z (about 2 months ago)
- Topics: json, json-converter, kotlin, python, script, scripting
- Language: Kotlin
- Homepage:
- Size: 15.5 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 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.
```bash
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!