java-json-tools/json-patch

Correct path syntax

dr-snglr opened this issue · 1 comments

Hello,

The library is being used in KNIME: https://www.knime.com/

Hope you don't mind me asking a question here. I'm trying to get an answer at the forum there, but can't get a response. Probably not too many people working with JSON files.

I'm trying to understand how to add a branch like this:
image

But it doesn't like "path": "/Conditions/Parameters/3"

I'm guessing the syntax is wrong, but can't figure it out...

Thanks in advance for a reply.

Took some experiments, but manged to solve it:
image

Thanks for the awesome work!