I get an JsonPatchException "no such path in target JSON document". There is no context at all regarding what the path is that's missing. Can you please add that?
e.g.. In RemoveOperation, can the path be added to the exception message?
if (path.isEmpty())
return MissingNode.getInstance();
if (path.path(node).isMissingNode())
throw new JsonPatchException(BUNDLE.getMessage("jsonPatch.noSuchPath"));
Issue copied from: https://github.com/java-json-tools/json-patch/issues/84
I get an JsonPatchException "no such path in target JSON document". There is no context at all regarding what the path is that's missing. Can you please add that?
e.g.. In RemoveOperation, can the path be added to the exception message?