.json-patch Patch JSON
Testo e codice sorgente
| Tipo MIME | application/json-patch+json |
|---|---|
| Descrizione | Patch JSON |
| Sigla | JSON – JavaScript Object Notation |
| Categoria | Testo e codice sorgente |
| Basato su | application/json |
Domande frequenti
Che cos’è un file .json-patch?
Un file .json-patch è un formato di tipo «Patch JSON» (tipo MIME application/json-patch+json). JSON sta per JavaScript Object Notation.
Come apro un file .json-patch?
Con qualsiasi editor di testo: Notepad++, Visual Studio Code, oppure gedit e vim su Linux. Il file contiene testo leggibile, eventualmente codice sorgente o configurazione.
Come si riconosce un vero file .json-patch?
Per questo formato non è registrata una firma fissa all’inizio del file; viene riconosciuto soprattutto dall’estensione. Su Linux e macOS, file --mime-type example.json-patch mostra il tipo presunto.
Su quale formato si basa .json-patch?
Tecnicamente un file .json-patch è un sottotipo di «Documento JSON» (application/json), quindi i programmi per quel formato di base spesso riescono a leggerlo.
Quale tipo MIME corrisponde a .json-patch?
Il tipo MIME è application/json-patch+json. Nel server web Apache: AddType application/json-patch+json .json-patch; in nginx: types { application/json-patch+json json-patch; }.