Skip to content

Is JSON Merge PATCH RFC7396 compatible with STAC? #13

@rhysrevans3

Description

@rhysrevans3

In JSON Merge Patch RFC7396 null values are given special meaning to indicate the removal of existing values in the target.

This isn't recommended for documents that allow explicit null values like STAC.

This design means that merge patch documents are suitable for
describing modifications to JSON documents that primarily use objects
for their structure and do not make use of explicit null values.

Should JSON Patch RFC6902 be supported? This allow for operations (add, remove, replace, move, copy, test) to be declared which allows the setting of null values.

Both can be supported simultaneously through the use of the Accept/Content-Type headers application/merge-patch+json and application/json-patch+json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions