support http://jsonpatch.com/ in patch_lib.py
And of course, write tests in tests/test_patch_lib.py
- Treat JSON like a tree structure
- JSONPatch syntax is always valid
- …but path to document can be invalid (not exist or syntax error)
- don't move/modify root (
/
) - it's an insane! - when commands 'add' and 'remove' will be implemented then other commands would be very easy to implement
pipenv install --three
pipenv run tests
pipenv run web
virtualenv venv -ppython3
source venv/bin/activate
pip install flask pytest pytest-cov flake8
flake8 && pytest -v --cov=.
FLASK_APP=web flask run