Title: Enabling testing for a pointer that references a nonexistent value ex… by zmarois · Pull Request #41 · java-json-tools/json-patch · GitHub
Open Graph Title: Enabling testing for a pointer that references a nonexistent value ex… by zmarois · Pull Request #41 · java-json-tools/json-patch
X Title: Enabling testing for a pointer that references a nonexistent value ex… by zmarois · Pull Request #41 · java-json-tools/json-patch
Description: We are trying to write a JSON Patch test operation that asserts the value at a path is not set. Per the "Error Handling" section of the RFC on JSON Pointers: Error conditions include, but are not limited to: Invalid pointer syntax A pointer that references a nonexistent value This specification does not define how errors are handled. An application of JSON Pointer SHOULD specify the impact and handling of each type of error. For example, some applications might stop pointer processing upon an error, while others may attempt to recover from missing values by inserting default ones. A JSON Patch test operation can only test that evaluating a JSON pointer results in a specified value. I would like to consider that processing a JSON Pointer for the application of a JSON Patch test operation would evaluate a nonexistent value as null, at least when comparing to null.
Open Graph Description: We are trying to write a JSON Patch test operation that asserts the value at a path is not set. Per the "Error Handling" section of the RFC on JSON Pointers: Error conditions include, bu...
X Description: We are trying to write a JSON Patch test operation that asserts the value at a path is not set. Per the "Error Handling" section of the RFC on JSON Pointers: Error conditions inc...
Opengraph URL: https://github.com/java-json-tools/json-patch/pull/41
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:2bde8bed-0176-f7cb-65f5-7a3a0af5cef3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E716:F5DBC:5878D48:78D0422:697846E5 |
| html-safe-nonce | e819f1f676dbda01f110294237e74be30c74724ba62b140967f0d10625ac8865 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzE2OkY1REJDOjU4NzhENDg6NzhEMDQyMjo2OTc4NDZFNSIsInZpc2l0b3JfaWQiOiI4MDMxODk3MTMzNzQ3MDI5NzMzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f2fd57aff464f31c5dd681e50fdf1f4ed8a413dcb138b64d21c3b4a4b07e7b9b |
| hovercard-subject-tag | pull_request:102344365 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/java-json-tools/json-patch/pull/41/files |
| twitter:image | https://avatars.githubusercontent.com/u/22084859?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/22084859?s=400&v=4 |
| og:image:alt | We are trying to write a JSON Patch test operation that asserts the value at a path is not set. Per the "Error Handling" section of the RFC on JSON Pointers: Error conditions include, bu... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/java-json-tools/json-patch git https://github.com/java-json-tools/json-patch.git |
| octolytics-dimension-user_id | 28316821 |
| octolytics-dimension-user_login | java-json-tools |
| octolytics-dimension-repository_id | 8911984 |
| octolytics-dimension-repository_nwo | java-json-tools/json-patch |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 8911984 |
| octolytics-dimension-repository_network_root_nwo | java-json-tools/json-patch |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 520b65a872113b919c1bbdb03834a50af15859fd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width