JSON + AJAX Flashcards

(12 cards)

1
Q

Was bedeutet JSON?

A

JavaScript Object Notation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Vorteile von JSON?

A

Menschlich gut lesbar, maschinell leicht verarbeitbar, reiner Text, sprachunabhängig.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Nenne typische Einsatzgebiete von JSON

A

Client-Server-Datenaustausch, Konfigurations- und Speicherdateien (.json), Serialisierung von Objekten

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Was bedeutet Serialisierung?

A

Umwandlung strukturierter Daten (z. B. Objekte) in eine sequentielle Darstellung wie Text oder Bytes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Was bedeutet Deserialisierung?

A

Rückumwandlung einer sequentiellen Darstellung in Datenobjekte

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Grundlegende JSON-Datentypen

A

Object, Array, String, Number, Boolean, null

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Einschränkungen von JSON

A

Keine komplexen Datentypen (z. B. Date), keine Kommentare erlaubt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Unterschied zwischen JSON vs. XML

A

JSON ist kompakter und einfacher; XML unterstützt komplexe Strukturen, Metadaten und Kommentare

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Wofür steht AJAX?

A

Asynchronous JavaScript and XML

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Zweck von AJAX

A

Asynchrones Nachladen von Daten ohne Neuladen der gesamten Webseite

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Vorteile von AJAX

A

Schnellere Reaktion, weniger Datenübertragung

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Warum wird bei AJAX heute meist JSON genutzt?

A

Geringere Größe, bessere Integration in JavaScript

How well did you know this?
1
Not at all
2
3
4
5
Perfectly