Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Juz indexes in json are strings, should be integers #37

Open
alrayyes opened this issue Jan 9, 2020 · 3 comments
Open

Juz indexes in json are strings, should be integers #37

alrayyes opened this issue Jan 9, 2020 · 3 comments

Comments

@alrayyes
Copy link

alrayyes commented Jan 9, 2020

{
    "index": "110",
    "name": "an-Nashr",
    "verse": {
        "verse_0": "بسم الله الرحمن الرحيم",
        "verse_1": "إذا جاء نصر ٱلله وٱلفتح",
        "verse_2": "ورأيت ٱلناس يدخلون فى دين ٱلله أفواجا",
        "verse_3": "فسبح بحمد ربك وٱستغفره  إنهۥ كان توابا"
    },
    "count": 3,
    "juz": [
        {
            "index": "30",
            "verse": {
                "start": "verse_1",
                "end": "verse_3"
            }
        }
    ]
}

"index": "30" should be "index":30. This would make parsing json a little bit easier. Can this be implemented?

@alrayyes
Copy link
Author

alrayyes commented Jan 9, 2020

The same thing goes for "index": "110"

@alrayyes
Copy link
Author

alrayyes commented Jan 9, 2020

Same issue in the tajweed files :)

@alrayyes
Copy link
Author

alrayyes commented Jan 9, 2020

And translation files :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant