{"id":20458358,"url":"https://github.com/outatime/jquery-jsonrpc","last_synced_at":"2026-06-10T07:31:32.764Z","repository":{"id":66272688,"uuid":"1895621","full_name":"outaTiME/jquery-jsonrpc","owner":"outaTiME","description":"jQuery JSON-RPC Plugin.","archived":false,"fork":false,"pushed_at":"2011-06-14T18:23:33.000Z","size":96,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-08T14:54:51.501Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/outaTiME.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-06-14T17:19:29.000Z","updated_at":"2016-05-01T15:34:20.000Z","dependencies_parsed_at":"2023-02-20T01:10:22.254Z","dependency_job_id":null,"html_url":"https://github.com/outaTiME/jquery-jsonrpc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/outaTiME/jquery-jsonrpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outaTiME%2Fjquery-jsonrpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outaTiME%2Fjquery-jsonrpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outaTiME%2Fjquery-jsonrpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outaTiME%2Fjquery-jsonrpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/outaTiME","download_url":"https://codeload.github.com/outaTiME/jquery-jsonrpc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outaTiME%2Fjquery-jsonrpc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34142637,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-15T12:12:07.181Z","updated_at":"2026-06-10T07:31:32.744Z","avatar_url":"https://github.com/outaTiME.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"jQuery JSON-RPC Plugin\n======================\n\nA JSON-RPC 2.0 implementation for jQuery.\n\nWhat is JSON-RPC?\n-----------------\n\nJSON-RPC is a lightweight remote procedure call protocol. It's designed to be simple!\n\nUsage\n-----\n\n### Invocation\n\n    $.jsonrpc({\n      id: 1,\n      url: \"foo\",\n      method: \"method\",\n      params: {\n        // pass\n      },\n      success: function (response) {\n        // pass\n      },\n      fault: function (response, errordata) {\n        // pass\n      },\n      error: function (request, status, error) {\n        // pass\n      }\n    });\n\n### Parameter detail\n\n*   `id`:\n    The request id (optional).\n\n*   `url`:\n    A string containing the URL to which the request is sent.\n\n*   `method`:\n    A String containing the name of the method to be invoked.\n\n*   `params`:\n    An object to pass as arguments to the method (optional).\n\n*   `success`:\n    A function to be called if the request succeeds (optional).\n\n*   `fault`:\n    A function to be called if the request succeeds (but with error response) (optional).\n\n*   `error`:\n    A function to be called if the request fails (optional).\n\nExamples\n--------\n\n    // A RPC call with named parameters\n    $.jsonrpc({\n      url: \"/rpc\",\n      method: \"createUser\",\n      params: {\n        name: \"John Smith\",\n        userId: 1000\n      },\n      success: function (response) {\n        // pass\n      },\n      fault: function (response, errordata) {\n        // pass\n      },\n      error: function (request, status, error) {\n        // pass\n      }\n    });\n\n    // A Notification\n    $.jsonrpc({\n      url: \"/rpc\",\n      method: \"notify\",\n      params: {\n        action: \"logout\",\n        userId: 1000\n      }\n    });\n\n    // A Notification using console to debug and with timeout set\n    $.jsonrpc({\n      url: \"/rpc\"\n      method: \"notify\",\n      params: {\n        action: \"logout\",\n        userId: 1000\n      },\n      timeout: 500\n    });\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutatime%2Fjquery-jsonrpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foutatime%2Fjquery-jsonrpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutatime%2Fjquery-jsonrpc/lists"}