Contenuto principale

Formato JSON

Formato a notazione dell’oggetto JavaScript®

JavaScript Il formato a notazione dell'oggetto (JSON) un formato di interscambio dati basato sul linguaggio di programmazione JavaScript. È possibile decodificare e codificare il testo formattato in JSON. È inoltre possibile importare i dati da un file JSON in MATLAB® come struttura (da R2023b) o dizionario (da R2024b). È possibile scrivere il contenuto di una struttura o di un dizionario in un file JSON.

Funzioni

jsondecodeDecode JSON-formatted text
jsonencodeCreate JSON-formatted text from structured MATLAB data
readstructCreate structure array from file
writestructWrite structure array to file
readdictionaryCreate dictionary from file (Da R2024b)
writedictionaryWrite dictionary to file (Da R2024b)

Argomenti