{"id":66395,"library":"ant0ine-go-json-rest","title":"Go JSON REST","description":"Package go-json-rest provides a thin layer on top of net/http for building RESTful JSON APIs.","status":"active","version":"3.3.2+incompatible","language":"go","source_language":null,"source_url":"https://github.com/ant0ine/go-json-rest","tags":["rest","json","api","web"],"install":[{"cmd":"go get github.com/ant0ine/go-json-rest","lang":"bash","label":"Install github.com/ant0ine/go-json-rest"}],"dependencies":[],"imports":[{"symbol":"rest","correct":"github.com/ant0ine/go-json-rest"}],"quickstart":{"code":"package main\n\nimport (\n    \"github.com/ant0ine/go-json-rest/rest\"\n    \"log\"\n    \"net/http\"\n)\n\nfunc main() {\n    api := rest.NewApi()\n    api.Use(rest.DefaultDevStack...)\n    api.SetApp(rest.AppSimple(func(w rest.ResponseWriter, r *rest.Request) {\n        w.WriteJson(map[string]string{\"message\": \"hello\"})\n    }))\n    log.Fatal(http.ListenAndServe(\":8080\", api.MakeHandler()))\n}","lang":"go","description":"Create a simple JSON REST API endpoint."},"warnings":[{"fix":"Migrate to an actively maintained web framework.","message":"This package is no longer maintained; consider using a more modern framework like Gin or Echo.","severity":"breaking","affected_versions":">=3.0.0"}],"env_vars":null,"search_vec":"'api':21,24 'build':18 'go':1,6 'go-json-rest':5 'json':2,7,20,23 'layer':12 'net/http':16 'packag':4 'provid':9 'rest':3,8,19,22 'thin':11 'top':14 'web':25","created_at":"2026-06-17T17:23:09.183338+00:00","updated_at":"2026-06-17T17:23:09.183338+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/ant0ine/go-json-rest","github":"https://github.com/ant0ine/go-json-rest","docs":"https://pkg.go.dev/github.com/ant0ine/go-json-rest#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework"],"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}}