remorhaz/php-json-pointer

Add fails to replace document root

Closed this issue · 0 comments

Way to reproduce: add value {"a":"b"}to JSON document [1] at empty path.
Expected behavior: document [1].
Actual behavior: throws an exception