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
jsondecode | Decode JSON-formatted text |
jsonencode | Create JSON-formatted text from structured MATLAB data |
readstruct | Create structure array from file |
writestruct | Write structure array to file |
readdictionary | Create dictionary from file (Da R2024b) |
writedictionary | Write dictionary to file (Da R2024b) |
Argomenti
- Customize JSON Encoding for MATLAB Classes
How to override the
jsonencode
function for user-defined classes.