JSON Patch (original) (raw)
JSON Patch is a web standard format for describing changes in a JSON document. It is meant to be used together with HTTP Patch which allows for the modification of existing HTTP resources. The JSON Patch media type is application/json-patch+json. A JSON Patch document is structured as a JSON array of objects where each object contains one of the six JSON Patch operations: add, remove, replace, move, copy, and test. This structure was influenced by the specification of XML patch. The syntax looks like this:
Property | Value |
---|---|
dbo:abstract | JSON Patch is a web standard format for describing changes in a JSON document. It is meant to be used together with HTTP Patch which allows for the modification of existing HTTP resources. The JSON Patch media type is application/json-patch+json. A JSON Patch document is structured as a JSON array of objects where each object contains one of the six JSON Patch operations: add, remove, replace, move, copy, and test. This structure was influenced by the specification of XML patch. The syntax looks like this: There is one operation per object, though there can be many objects/operations in every array. These operations are performed in order; the first operation in the array goes first, the second operation acts upon the result of the previous operation, and so on. JSON Patch documents are atomic in that if one operation in the document fails, then no operation will be carried out. (en) |
dbo:wikiPageID | 52472953 (xsd:integer) |
dbo:wikiPageLength | 2472 (xsd:nonNegativeInteger) |
dbo:wikiPageRevisionID | 1106921538 (xsd:integer) |
dbo:wikiPageWikiLink | dbc:JavaScript dbr:Hypertext_Transfer_Protocol dbr:Patch_verb dbr:Web_standards dbr:Media_type dbc:Open_formats dbr:JSON dbc:JSON dbr:XML |
dbp:developer | P. Bryan, M. Nottingham (en) |
dbp:extendedFrom | dbr:JSON |
dbp:extension | .json-patch (en) |
dbp:mime | application/json-patch+json (en) |
dbp:name | JSON Patch (en) |
dbp:wikiPageUsesTemplate | dbt:Infobox_file_format dbt:Reflist dbt:Short_description dbt:Compu-prog-stub |
dcterms:subject | dbc:JavaScript dbc:Open_formats dbc:JSON |
rdfs:comment | JSON Patch is a web standard format for describing changes in a JSON document. It is meant to be used together with HTTP Patch which allows for the modification of existing HTTP resources. The JSON Patch media type is application/json-patch+json. A JSON Patch document is structured as a JSON array of objects where each object contains one of the six JSON Patch operations: add, remove, replace, move, copy, and test. This structure was influenced by the specification of XML patch. The syntax looks like this: (en) |
rdfs:label | JSON Patch (en) |
owl:sameAs | wikidata:JSON Patch https://global.dbpedia.org/id/2eGTM yago-res:JSON Patch |
prov:wasDerivedFrom | wikipedia-en:JSON_Patch?oldid=1106921538&ns=0 |
foaf:isPrimaryTopicOf | wikipedia-en:JSON_Patch |
is dbo:wikiPageWikiLink of | dbr:Index_of_JavaScript-related_articles dbr:Starcounter dbr:PATCH_(HTTP) |
is foaf:primaryTopic of | wikipedia-en:JSON_Patch |