{"id":15319193,"url":"https://github.com/thinkerou/grpc-scala-json","last_synced_at":"2025-03-27T17:49:42.920Z","repository":{"id":89395054,"uuid":"131389835","full_name":"thinkerou/grpc-scala-json","owner":"thinkerou","description":"Simple example of grpc with ScalaPB and JSON.","archived":false,"fork":false,"pushed_at":"2018-08-29T13:39:56.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T21:13:39.589Z","etag":null,"topics":["grpc-java","sbt","scala","scala-json","scalapb"],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thinkerou.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-28T08:26:16.000Z","updated_at":"2018-08-29T13:39:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"d826b99d-179a-4635-9cf3-a2c95f6d5c04","html_url":"https://github.com/thinkerou/grpc-scala-json","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"bb815a49476d35c05aa704165c6d94087384f546"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkerou%2Fgrpc-scala-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkerou%2Fgrpc-scala-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkerou%2Fgrpc-scala-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkerou%2Fgrpc-scala-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thinkerou","download_url":"https://codeload.github.com/thinkerou/grpc-scala-json/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245898342,"owners_count":20690459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["grpc-java","sbt","scala","scala-json","scalapb"],"created_at":"2024-10-01T09:04:04.744Z","updated_at":"2025-03-27T17:49:42.898Z","avatar_url":"https://github.com/thinkerou.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grpc-scala-json\n\nSimple example of [grpc-java](https://github.com/grpc/grpc-java) with [ScalaPB](https://github.com/scalapb/ScalaPB) and [scalapb-json4s](https://github.com/scalapb/scalapb-json4s).\n\n### Server\n\nRun the following command:\n\n```bash\n➜  cd grpc-scala-json\n➜  sbt\nsbt:grpc-scala-json\u003e compile\nsbt:grpc-scala-json\u003e run\n[warn] Multiple main classes detected.  Run 'show discoveredMainClasses' to see the list\n\nMultiple main classes detected, select one to run:\n\n [1] helloworld.HelloWorldClient\n [2] helloworld.HelloWorldServer\n[info] Packaging /Users/thinkerou/grpc-scala-json/target/scala-2.12/grpc-scala-json_2.12-0.1.jar ...\n[info] Done packaging.\n\nEnter number: 2\n\n[info] Running helloworld.HelloWorldServer\nApr 28, 2018 4:16:29 PM helloworld.HelloWorldServer helloworld$HelloWorldServer$$start\n信息: Server started and listening on 50052\n\n```\n\n### Client\n\nRun the following command and input the path of JSON file:\n\n```bash\n➜  cd grpc-scala-json\n➜  sbt\nsbt:grpc-scala-json\u003e runMain helloworld.HelloWorldClient ./data/helloworld.json\n```\n\nDefault path of `helloworld.json` is `./data/helloworld.json`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkerou%2Fgrpc-scala-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthinkerou%2Fgrpc-scala-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkerou%2Fgrpc-scala-json/lists"}