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

csv2array mit csv2json ersetzen #59

Open
msteudtn opened this issue Dec 30, 2021 · 0 comments
Open

csv2array mit csv2json ersetzen #59

msteudtn opened this issue Dec 30, 2021 · 0 comments

Comments

@msteudtn
Copy link
Owner

Hintergrund

  • Im Moment wird die jQuery-Bibliothek https://github.com/evanplaice/jquery-csv benutzt um CSV-Dateien in Arrays umzuwandeln.
  • Die Version funktioniert aber könnte ein Update brauchen. So wird dort z.B. auf https://github.com/vanillaes/csv als Alternative verwiesen.
  • Zusätzlich arbeite ich immer mit Arrays mit teilweise verschachtelten Index[i][j]
  • JSON-Objekte lassen sich besser lesen und ansprechen, z.B. fragen.wertung[i] und fragen.details[i]

Ziel

  • Die CSV-Arrays in (JSON)-Objekte umwandeln
  • z.B. über eine andere Bibliothek oder über var json_string = JSON.stringify(json_arr);
  • Achtung! Das wird eine Menge Code-Änderungen nach sich ziehen, da bisher auf die Arrays zurück gegriffen wird.
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