add support for json patch
Merge pull request #8 from coderhaoxin/json-patch

add support for json patch