.json-patch JSON patch

Text & source code

MIME typeapplication/json-patch+json
DescriptionJSON patch
AcronymJSON – JavaScript Object Notation
CategoryText & source code
Based onapplication/json

Frequently asked questions

What is a .json-patch file?

A .json-patch file is a “JSON patch” (MIME type application/json-patch+json). JSON stands for JavaScript Object Notation.

How do I open a .json-patch file?

With any text editor – Notepad++, Visual Studio Code, or gedit and vim on Linux. The file contains readable text, possibly source code or configuration.

How can you tell a genuine .json-patch file?

No fixed signature at the start of the file is registered for this format; it is recognised mainly by its extension. On Linux and macOS, file --mime-type example.json-patch shows the guessed type.

Which format is .json-patch based on?

Technically a .json-patch file is a subtype of “JSON document” (application/json), so programs for that base format can often read it too.

Which MIME type belongs to .json-patch?

The MIME type is application/json-patch+json. In the Apache web server: AddType application/json-patch+json .json-patch; in nginx: types { application/json-patch+json json-patch; }.

Nearby entries