This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
Json werte im array ablegen.
#1
Hallo Gemeinde,
ich habe ein problem. ich möchte werte von einer url die werte ausgibt, ich denke im json format in eine variable ablegen um mit den werten im code weiter zu arbeiten. wie ist das möglich? ich hab schon gesucht aber so richtig hab ich nichts gefunden. müsste ja ein request machen und das ergebnis durch eine for schleife einbinden oder?

vielleicht kann mir jemand auf die sprünge helfen was den request angeht das ich erstmal die werte einlesen kann!

danke euch
Zitieren
#2
Kann das sein das du sowas suchst
https://developer.mozilla.org/de/docs/We...JSON/parse

https://developer.mozilla.org/de/docs/We.../stringify
Als Lösung markieren Zitieren


Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste