You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, this is indeed not really helpful. On the top of my head, I'd say it should be a syntax error when parsing the pointer, so something is broken in the error handling here in diffson, I will fix this. Thanks for reporting.
After some more investigation, it appears it is a problem in the Play! JSON deserialization. The actual exception is swallowed in case of an error. I will fix this, but you will still get an exception (namely a PointerException) however, with a more explanatory message: "JSON pointer must start with a '/'", as per RFC-6901.
What should the behavior be if the leading "/" in the
path
is omitted?I get a pretty gnarly error in that case.
Sorry it's not a full example, I can do that if that'll be helpful. Here's what I have for now:
I'm using a
JsonPatch[JsValue]
(play)The text was updated successfully, but these errors were encountered: