Share
VIDEOS 1 TO 50
23C3: JSON RPC
23C3: JSON RPC
Published: 2011/03/07
Channel: Christiaan008
Bitcoin JSON-RPC Tutorial 1
Bitcoin JSON-RPC Tutorial 1
Published: 2016/04/12
Channel: m1xolyd1an
JSON RPC vs  SOAP vs  Apache Thrift   What to Use and What Makes them Different
JSON RPC vs SOAP vs Apache Thrift What to Use and What Makes them Different
Published: 2015/08/27
Channel: Mertech Data
Quickly Build a JSON-RPC Web API in Java with Thriftly
Quickly Build a JSON-RPC Web API in Java with Thriftly
Published: 2017/05/12
Channel: thriftly.io
JSON-RPC Client
JSON-RPC Client
Published: 2010/07/09
Channel: Wicked Logic
JSON-RPC или когда REST неудобен
JSON-RPC или когда REST неудобен
Published: 2016/02/17
Channel: PyNSK
Работаем с API по-взрослому - Максим Кислов (Badoo)
Работаем с API по-взрослому - Максим Кислов (Badoo)
Published: 2017/04/14
Channel: AvitoTech
Building a REST+RPC API in 30 minutes
Building a REST+RPC API in 30 minutes
Published: 2016/01/04
Channel: Parleys
ERROR JSON-RPC EN KODI
ERROR JSON-RPC EN KODI
Published: 2017/05/04
Channel: maki pica
How to Query a JSON API in Python (Python for Beginners) | Part 33
How to Query a JSON API in Python (Python for Beginners) | Part 33
Published: 2016/10/28
Channel: Max Goodridge
Bitcoin JSON-RPC Tutorial 5 - Your First Calls
Bitcoin JSON-RPC Tutorial 5 - Your First Calls
Published: 2016/04/12
Channel: m1xolyd1an
How to Build a .NET - C# JSON-RPC Web API in Visual Studio with Thriftly.io
How to Build a .NET - C# JSON-RPC Web API in Visual Studio with Thriftly.io
Published: 2017/05/12
Channel: thriftly.io
Remote Controlling Kodi with JsonRpc
Remote Controlling Kodi with JsonRpc
Published: 2016/10/28
Channel: Game Poop
Unit7 JsonRPC
Unit7 JsonRPC
Published: 2015/08/31
Channel: Nicholas Lindquist
How to Consume JSON-RPC from a Thriftly API in JavaScript with jQuery
How to Consume JSON-RPC from a Thriftly API in JavaScript with jQuery
Published: 2017/06/12
Channel: thriftly.io
Web Services Tutorial
Web Services Tutorial
Published: 2014/09/20
Channel: Derek Banas
Jsonrpc implementation
Jsonrpc implementation
Published: 2014/08/27
Channel: Piotr Kliczewski
RPC - Remote Procedure Call using Python
RPC - Remote Procedure Call using Python
Published: 2014/12/29
Channel: Monta Peciņa
COMO CONSERTAR ERROR JSON RPC QUASAR NO KODI
COMO CONSERTAR ERROR JSON RPC QUASAR NO KODI
Published: 2017/09/12
Channel: GSF GAMES & TUTORIAIS
⏯ STREAM WITH EASE | Android Remote Control for Kodi with JSON-RPC and Volley Tutorial
⏯ STREAM WITH EASE | Android Remote Control for Kodi with JSON-RPC and Volley Tutorial
Published: 2017/04/01
Channel: AR Compware
Python Tutorial - 14. Working With JSON
Python Tutorial - 14. Working With JSON
Published: 2016/02/14
Channel: codebasics
Running Ethereum DAPPs in web-browsers
Running Ethereum DAPPs in web-browsers
Published: 2014/08/01
Channel: Andreas Olofsson
Bitcoin JSON-RPC Tutorial 2 - VPS Setup
Bitcoin JSON-RPC Tutorial 2 - VPS Setup
Published: 2016/04/12
Channel: m1xolyd1an
REST API в Yii2 Часть 1. Теория. XML-RPC, JSON-RPC, SOAP.
REST API в Yii2 Часть 1. Теория. XML-RPC, JSON-RPC, SOAP.
Published: 2017/05/04
Channel: Алексей Хромец
Bitcoin JSON-RPC Tutorial 3 - bitcoin.conf
Bitcoin JSON-RPC Tutorial 3 - bitcoin.conf
Published: 2016/04/12
Channel: m1xolyd1an
Bitcoin JSON-RPC Tutorial 6 - JSON Parameters and Errors
Bitcoin JSON-RPC Tutorial 6 - JSON Parameters and Errors
Published: 2016/04/12
Channel: m1xolyd1an
Catty tutorial 1: How to implement a TCP/Echo/Json-RPC server
Catty tutorial 1: How to implement a TCP/Echo/Json-RPC server
Published: 2015/07/04
Channel: Xinkai Wang
web3.js library, the Ethereum JavaScript API
web3.js library, the Ethereum JavaScript API
Published: 2017/08/16
Channel: Mobilefish.com
Bitcoin JSON-RPC Tutorial 7 - Wallet Notify
Bitcoin JSON-RPC Tutorial 7 - Wallet Notify
Published: 2016/04/12
Channel: m1xolyd1an
Metatrader 4 JSON RPC with RabbitMQ and MySQL
Metatrader 4 JSON RPC with RabbitMQ and MySQL
Published: 2014/06/28
Channel: FemtoTrader
JSON RPC Calls with Bitcoin qt (4 of 6)
JSON RPC Calls with Bitcoin qt (4 of 6)
Published: 2013/06/23
Channel: Lars Holdgaard
A Survey of RPC options in Go
A Survey of RPC options in Go
Published: 2015/06/26
Channel: Hakka Labs
Geth communication
Geth communication
Published: 2017/07/25
Channel: Mobilefish.com
How to Build a Fast JSON Web API in DataFlex with Thriftly.io
How to Build a Fast JSON Web API in DataFlex with Thriftly.io
Published: 2017/05/11
Channel: Mertech Data
Bitcoin JSON-RPC Tutorial 4 - Command Line Interface
Bitcoin JSON-RPC Tutorial 4 - Command Line Interface
Published: 2016/04/12
Channel: m1xolyd1an
Python 17 - XML-RPC: Simple Function
Python 17 - XML-RPC: Simple Function
Published: 2014/11/09
Channel: Karel Mozdřeň
MISTA: On The Fly Testing via JSON-RPC
MISTA: On The Fly Testing via JSON-RPC
Published: 2012/02/06
Channel: dianxiangxu
Playing around with XBMC jsonrpc on Windows 8
Playing around with XBMC jsonrpc on Windows 8
Published: 2012/10/03
Channel: Martin van Beurden
Demo of Raspberry Pi as a RPC server. Golang
Demo of Raspberry Pi as a RPC server. Golang
Published: 2017/03/18
Channel: Martin Pålsson
MISTA: Online Test Execution via JSON-RPC
MISTA: Online Test Execution via JSON-RPC
Published: 2012/02/06
Channel: dianxiangxu
How To Work With JSON In Xcode 8 (Swift 3.0)
How To Work With JSON In Xcode 8 (Swift 3.0)
Published: 2016/11/03
Channel: The Swift Guy
Programming Bitcoin-qt using the RPC api (1 of 6)
Programming Bitcoin-qt using the RPC api (1 of 6)
Published: 2013/06/23
Channel: Lars Holdgaard
Vinipsmaker
Vinipsmaker's Qt HTTP tools + node.js app using JSON-RPC and mongodb ...
Published: 2011/06/16
Channel: Vinícius dos Santos Oliveira
CeosServer - first test with component json rpc n-tier - part 1
CeosServer - first test with component json rpc n-tier - part 1
Published: 2014/05/21
Channel: José Benedito
How to fix the RPC server Unavailable Error (Windows 7)
How to fix the RPC server Unavailable Error (Windows 7)
Published: 2011/03/03
Channel: pspslimhacks
CL2015 JSON RPC Sandbox
CL2015 JSON RPC Sandbox
Published: 2015/06/08
Channel: Shelly C
Videotutorial - Crear un api RPC con PHP, MySQL y JSON
Videotutorial - Crear un api RPC con PHP, MySQL y JSON
Published: 2012/09/10
Channel: clan2b
Jsonrpc Events - Deep dive
Jsonrpc Events - Deep dive
Published: 2015/07/23
Channel: Piotr Kliczewski
#APIdays "RPC to REST : Concrete Case on Payment APIs" by Andrei Neculau
#APIdays "RPC to REST : Concrete Case on Payment APIs" by Andrei Neculau
Published: 2012/12/20
Channel: APIdays
Fredrik Andersson - Wisper RPC: A delightful alt. to JSON RPC ● sthlm.js meetup #43 at Widespace
Fredrik Andersson - Wisper RPC: A delightful alt. to JSON RPC ● sthlm.js meetup #43 at Widespace
Published: 2017/05/29
Channel: sthlm.js
NEXT
GO TO RESULTS [51 .. 100]

WIKIPEDIA ARTICLE

From Wikipedia, the free encyclopedia
Jump to: navigation, search

JSON-RPC is a remote procedure call protocol encoded in JSON. It is a very simple protocol (and very similar to XML-RPC), defining only a few data types and commands. JSON-RPC allows for notifications (data sent to the server that does not require a response) and for multiple calls to be sent to the server which may be answered out of order.

History[edit]

Version Description Dated
1.0 Original version 2005
1.1 WD Working draft. Adds named parameters, adds specific error codes, and adds introspection functions. 2006-08-07
1.1 Alt Suggestion for a simple JSON-RPC 1.1. Alternative proposal to 1.1 WD. 2007-05-06
1.1 Object Specification Object Specification. Alternative proposal to 1.1 WD/1.1ALT. 2007-07-30
1.2 Proposal. A later revision of this document was renamed to 2.0. 2007-12-27
2.0 Specification proposal 2009-05-24
2.0 (Revised-) Specification 2010-03-26

Usage[edit]

JSON-RPC works by sending a request to a server implementing this protocol. The client in that case is typically software intending to call a single method of a remote system. Multiple input parameters can be passed to the remote method as an array or object, whereas the method itself can return multiple output data as well. (This depends on the implemented version.)

All transfer types are single objects, serialized using JSON.[1] A request is a call to a specific method provided by a remote system. It must contain three certain properties:

  • method - A String with the name of the method to be invoked.
  • params - An Object or Array of values to be passed as parameters to the defined method.
  • id - A value of any type used to match the response with the request that it is replying to.

The receiver of the request must reply with a valid response to all received requests. A response must contain the properties mentioned below.

  • result - The data returned by the invoked method. If an error occurred while invoking the method, this value must be null.
  • error - A specified error code if there was an error invoking the method, otherwise null.
  • id - The id of the request it is responding to.

Since there are situations where no response is needed or even desired, notifications were introduced. A notification is similar to a request except for the id, which is not needed because no response will be returned. In this case the id property should be omitted (Version 2.0) or be null (Version 1.0).

Examples[edit]

In these examples, --> denotes data sent to a service (request), while <-- denotes data coming from a service. Although <-- is often called a response in client–server computing, depending on the JSON-RPC version it does not necessarily imply an answer to a request.

Version 2.0[edit]

Request and response:

--> {"jsonrpc": "2.0", "method": "subtract", "params": {"minuend": 42, "subtrahend": 23}, "id": 3}
<-- {"jsonrpc": "2.0", "result": 19, "id": 3}

Notification (no response):

--> {"jsonrpc": "2.0", "method": "update", "params": [1,2,3,4,5]}

Version 1.1 (Working Draft)[edit]

Request and response:

--> {"version": "1.1", "method": "confirmFruitPurchase", "params": [["apple", "orange", "mangoes"], 1.123], "id": "194521489"}
<-- {"version": "1.1", "result": "done", "error": null, "id": "194521489"}

Version 1.0[edit]

Request and response:

--> {"method": "echo", "params": ["Hello JSON-RPC"], "id": 1}
<-- {"result": "Hello JSON-RPC", "error": null, "id": 1}

See also[edit]

References[edit]

External links[edit]

Disclaimer

None of the audio/visual content is hosted on this site. All media is embedded from other sites such as GoogleVideo, Wikipedia, YouTube etc. Therefore, this site has no control over the copyright issues of the streaming media.

All issues concerning copyright violations should be aimed at the sites hosting the material. This site does not host any of the streaming media and the owner has not uploaded any of the material to the video hosting servers. Anyone can find the same content on Google Video or YouTube by themselves.

The owner of this site cannot know which documentaries are in public domain, which has been uploaded to e.g. YouTube by the owner and which has been uploaded without permission. The copyright owner must contact the source if he wants his material off the Internet completely.

Powered by YouTube
Wikipedia content is licensed under the GFDL and (CC) license