Skip to main content

7. Error Handling

7. Error Handling

In the event of an error condition, evaluation of the JSON Pointer fails to complete.

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.