Main Content

JSON-Format

JavaScript®-Object-Notation-Format

JavaScript Object Notation (JSON) ist ein Datenaustauschformat auf Basis der Programmiersprache JavaScript. Sie können JSON-formatierten Text dekodieren und kodieren. Zudem können Sie Daten aus einer JSON-Datei als Struktur in MATLAB® importieren und den Inhalt einer Struktur in eine JSON-Datei (seit R2023b) schreiben.

Funktionen

jsondecodeDecode JSON-formatted text
jsonencodeCreate JSON-formatted text from structured MATLAB data
readstructCreate structure array from file (Seit R2020b)
writestructWrite structure array to file (Seit R2020b)

Themen