patch_json = [{'op': 'replace', 'path': '/b', 'value': 'some_new_value'}, {
    'op': 'replace', 'path': '/a', 'value': 'some_new_value2'}]
Partial updates via PATCH: how to parse JSON data for SQL updates?