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

Use indexed array instead of associative array #4

Open
sylfabre opened this issue Mar 7, 2018 · 2 comments
Open

Use indexed array instead of associative array #4

sylfabre opened this issue Mar 7, 2018 · 2 comments

Comments

@sylfabre
Copy link

sylfabre commented Mar 7, 2018

Hello,

Why do you use an associative array instead of an indexed array for JSON and PHP format?
It duplicates the data.

And this format prevents the use of indexOf with Javascript

@umpirsky
Copy link
Owner

umpirsky commented Mar 7, 2018

The https://github.com/umpirsky/list-generator is used for this and other lists. Other lists have more then one information, so it makes sense there.

I agree it's redundant here, but it will need extra step to make it work.

@sylfabre
Copy link
Author

sylfabre commented Mar 7, 2018

@umpirsky ok thanks!

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

2 participants