Contenu principal

Format JSON

Format JSON (JavaScript® Object Notation)

JavaScript Object Notation (JSON) est un format d’échange de données basé sur le langage de programmation JavaScript. Vous pouvez décoder et encoder du texte au format JSON. Vous pouvez également importer les données d’un fichier JSON dans MATLAB® sous forme de structure (depuis R2023b) ou de dictionnaire (depuis R2024b). Vous pouvez également écrire le contenu d’une structure ou d’un dictionnaire dans un fichier JSON.

Fonctions

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 (depuis R2024b)
writedictionaryWrite dictionary to file (depuis R2024b)

Rubriques