Given a plain object like this:
If I want to add a property with the path of /compilerOptions/module and the value of nodenext I am expecting the object to be:
{
"compilerOptions": {
"module": "nodenext"
}
}
Unfortunatey, jsonpatch crashes with the message of:
Path not found in document
So I have to split the path and create its parts individually which is quite cumbersome. Can this functionality instead be integrated into this library?