.jsonld document JSON-LD
Texte et code source
| Type MIME | application/ld+json |
|---|---|
| Description | document JSON-LD |
| Sigle | JSON-LD – JavaScript Object Notation for Linked Data |
| Catégorie | Texte et code source |
| Basé sur | application/json |
Questions fréquentes
Qu’est-ce qu’un fichier .jsonld ?
Un fichier .jsonld est un format de type « document JSON-LD » (type MIME application/ld+json). JSON-LD signifie JavaScript Object Notation for Linked Data.
Comment ouvrir un fichier .jsonld ?
Avec n’importe quel éditeur de texte : Notepad++, Visual Studio Code, ou gedit et vim sous Linux. Le fichier contient du texte lisible, éventuellement du code source ou une configuration.
Comment reconnaître un vrai fichier .jsonld ?
Aucune signature fixe en début de fichier n’est enregistrée pour ce format ; il est surtout reconnu par son extension. Sous Linux et macOS, file --mime-type example.jsonld affiche le type supposé.
Sur quel format .jsonld est-il basé ?
Techniquement, un fichier .jsonld est un sous-type de « document JSON » (application/json) ; les programmes conçus pour ce format de base peuvent donc souvent le lire aussi.
Quel type MIME correspond à .jsonld ?
Le type MIME est application/ld+json. Dans le serveur web Apache : AddType application/ld+json .jsonld ; dans nginx : types { application/ld+json jsonld; }.