{"id":70368,"library":"evanphx-json-patch-v4","title":"JSON Patch","description":"A Go library for applying JSON Patch (RFC 6902) operations.","status":"active","version":"4.12.0","language":"go","source_language":null,"source_url":"https://github.com/evanphx/json-patch","tags":["json","patch","rfc6902"],"install":[{"cmd":"go get gopkg.in/evanphx/json-patch.v4","lang":"bash","label":"Install gopkg.in/evanphx/json-patch.v4"}],"dependencies":[],"imports":[{"symbol":"jsonpatch","correct":"gopkg.in/evanphx/json-patch.v4"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"gopkg.in/evanphx/json-patch.v4\"\n)\n\nfunc main() {\n\tpatch, _ := jsonpatch.DecodePatch([]byte(`[{\"op\":\"add\",\"path\":\"/foo\",\"value\":\"bar\"}]`))\n\tfmt.Println(patch)\n}","lang":"go","description":"Decode a JSON Patch"},"warnings":[],"env_vars":null,"search_vec":"'6902':11 'appli':7 'go':4 'json':1,8,13 'librari':5 'oper':12 'patch':2,9,14 'rfc':10 'rfc6902':15","created_at":"2026-06-17T18:13:22.556481+00:00","updated_at":"2026-06-17T18:13:22.556481+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/evanphx/json-patch","github":"https://github.com/evanphx/json-patch","docs":"https://pkg.go.dev/gopkg.in/evanphx/json-patch.v4#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}