{"id":15899595,"url":"https://github.com/ernestum/arduinojson-json-rpc","last_synced_at":"2026-05-16T09:35:37.008Z","repository":{"id":225718031,"uuid":"766665438","full_name":"ernestum/ArduinoJson-JSON-RPC","owner":"ernestum","description":"An example of a minimal test implementation of json-rpc using the ArduinoJson library","archived":false,"fork":false,"pushed_at":"2024-03-07T13:17:59.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T19:22:40.123Z","etag":null,"topics":["arduino","arduino-json","json-rpc-api","json-rpc-server","json-rpc2"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ernestum.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":"2024-03-03T21:45:46.000Z","updated_at":"2024-03-03T21:50:39.000Z","dependencies_parsed_at":"2024-10-28T05:55:25.717Z","dependency_job_id":"e5672a61-2a8c-45d0-9adc-8c61df860588","html_url":"https://github.com/ernestum/ArduinoJson-JSON-RPC","commit_stats":null,"previous_names":["ernestum/arduinojson-json-rpc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ernestum/ArduinoJson-JSON-RPC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ernestum%2FArduinoJson-JSON-RPC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ernestum%2FArduinoJson-JSON-RPC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ernestum%2FArduinoJson-JSON-RPC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ernestum%2FArduinoJson-JSON-RPC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ernestum","download_url":"https://codeload.github.com/ernestum/ArduinoJson-JSON-RPC/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ernestum%2FArduinoJson-JSON-RPC/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33097030,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["arduino","arduino-json","json-rpc-api","json-rpc-server","json-rpc2"],"created_at":"2024-10-06T10:21:56.907Z","updated_at":"2026-05-16T09:35:36.993Z","avatar_url":"https://github.com/ernestum.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"An example of a minimal test implementation of json-rpc using the [ArduinoJson library](https://arduinojson.org/).\n\nThe purpose is to find a good balance between library size and the amount of glue code between json-rpc and the user code.\n\nAs transports, Serial and HTTP are implemented.\n\nMostly untested.\n\nQ\u0026A:\n- **Why do I have to write so much boilerplate code?** Otherwise we would have to use some template magic, that probably only works in C++17. Also: the thing would only be understandable/modifiable to some C++ wizzards. Also: you would perceive it as magic and would notbe so aware any more that all your funciton calls are squeezed through inefficient JSON.\n- **Why use an std::unordered_map for the lookup table?** Because I was lazy. Feel free do use something different. This is not a library, it is an example. Maybe use list of (name, function) tuples sorted buy name and bisect on that list. Maybe sort the list by usage frequency during runtime and do a linear search. Maybe do both approaches. Wow.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fernestum%2Farduinojson-json-rpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fernestum%2Farduinojson-json-rpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fernestum%2Farduinojson-json-rpc/lists"}