Share
VIDEOS 1 TO 50
Bitcoin JSON-RPC Tutorial 1
Bitcoin JSON-RPC Tutorial 1
Published: 2016/04/12
Channel: m1xolyd1an
23C3: JSON RPC
23C3: JSON RPC
Published: 2011/03/07
Channel: Christiaan008
JSON-RPC Client
JSON-RPC Client
Published: 2010/07/09
Channel: Wicked Logic
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
JSON-RPC или когда REST неудобен
JSON-RPC или когда REST неудобен
Published: 2016/02/17
Channel: PyNSK
Работаем с API по-взрослому - Максим Кислов (Badoo)
Работаем с API по-взрослому - Максим Кислов (Badoo)
Published: 2017/04/14
Channel: AvitoTech
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
Web Services Tutorial
Web Services Tutorial
Published: 2014/09/20
Channel: Derek Banas
Bitcoin JSON-RPC Tutorial 5 - Your First Calls
Bitcoin JSON-RPC Tutorial 5 - Your First Calls
Published: 2016/04/12
Channel: m1xolyd1an
Parsing JSON Just Became Super Easy in Swift 4 with Decodable
Parsing JSON Just Became Super Easy in Swift 4 with Decodable
Published: 2017/07/01
Channel: Lets Build That App
Building a REST+RPC API in 30 minutes
Building a REST+RPC API in 30 minutes
Published: 2016/01/04
Channel: Parleys
COMO CONSERTAR ERROR JSON RPC QUASAR NO KODI
COMO CONSERTAR ERROR JSON RPC QUASAR NO KODI
Published: 2017/09/12
Channel: GSF GAMES & TUTORIAIS
JAVA- Send HTTP Get/Post Request and Read JSON response
JAVA- Send HTTP Get/Post Request and Read JSON response
Published: 2017/07/02
Channel: jinu jawad m
RPC Vs Simple Procedure Call - Georgia Tech - Advanced Operating Systems
RPC Vs Simple Procedure Call - Georgia Tech - Advanced Operating Systems
Published: 2015/02/23
Channel: Udacity
Unit7 JsonRPC
Unit7 JsonRPC
Published: 2015/08/31
Channel: Nicholas Lindquist
ERROR JSON-RPC EN KODI
ERROR JSON-RPC EN KODI
Published: 2017/05/04
Channel: maki pica
Geth communication
Geth communication
Published: 2017/07/25
Channel: Mobilefish.com
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 1 [Bitcoin Rpc]
Bitcoin Json-Rpc Tutorial 1 [Bitcoin Rpc]
Published: 2018/02/14
Channel: Мария Кислова
Jsonrpc implementation
Jsonrpc implementation
Published: 2014/08/27
Channel: Piotr Kliczewski
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
Building Bitcoin Websites - Working With Blockchain.info JSON Data
Building Bitcoin Websites - Working With Blockchain.info JSON Data
Published: 2015/02/15
Channel: m1xolyd1an
web3.js library, the Ethereum JavaScript API
web3.js library, the Ethereum JavaScript API
Published: 2017/08/16
Channel: Mobilefish.com
Remote Controlling Kodi with JsonRpc
Remote Controlling Kodi with JsonRpc
Published: 2016/10/28
Channel: Game Poop
Bitcoin JSON-RPC Tutorial 3 - bitcoin.conf
Bitcoin JSON-RPC Tutorial 3 - bitcoin.conf
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: Алексей Хромец
Jsonrpc Events - Deep dive
Jsonrpc Events - Deep dive
Published: 2015/07/23
Channel: Piotr Kliczewski
Ethereum in Depth: How is Ethereum Structured? - Connecting to Ethereum from your own app
Ethereum in Depth: How is Ethereum Structured? - Connecting to Ethereum from your own app
Published: 2017/11/05
Channel: Kevin Healy
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
Bitcoin Json-Rpc Tutorial 2 - Vps Setup [Bitcoin Rpc]
Bitcoin Json-Rpc Tutorial 2 - Vps Setup [Bitcoin Rpc]
Published: 2018/02/12
Channel: Мария Кислова
Bitcoin JSON-RPC Tutorial 6 - JSON Parameters and Errors
Bitcoin JSON-RPC Tutorial 6 - JSON Parameters and Errors
Published: 2016/04/12
Channel: m1xolyd1an
⏯ 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
Bitcoin JSON-RPC Tutorial 2 - VPS Setup
Bitcoin JSON-RPC Tutorial 2 - VPS Setup
Published: 2016/04/12
Channel: m1xolyd1an
Bitcoin JSON-RPC Tutorial 4 - Command Line Interface
Bitcoin JSON-RPC Tutorial 4 - Command Line Interface
Published: 2016/04/12
Channel: m1xolyd1an
#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
Evolution of django-json-rpc (Gource Visualization)
Evolution of django-json-rpc (Gource Visualization)
Published: 2015/10/25
Channel: Landon Wilkins
Bitcoin JSON-RPC Tutorial 7 - Wallet Notify
Bitcoin JSON-RPC Tutorial 7 - Wallet Notify
Published: 2016/04/12
Channel: m1xolyd1an
23c3 - JSON RPC
23c3 - JSON RPC
Published: 2017/12/29
Channel: MrMahon1
PyCon HK 2017 - How to reinvent the wheel and build the most popular JSON-RPC library
PyCon HK 2017 - How to reinvent the wheel and build the most popular JSON-RPC library
Published: 2017/11/04
Channel: PyCON Hong Kong
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
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
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
MISTA: Online Test Execution via JSON-RPC
MISTA: Online Test Execution via JSON-RPC
Published: 2012/02/06
Channel: dianxiangxu
A Survey of RPC options in Go
A Survey of RPC options in Go
Published: 2015/06/26
Channel: Hakka Labs
CL2015 JSON RPC Sandbox
CL2015 JSON RPC Sandbox
Published: 2015/06/08
Channel: Shelly C
Metatrader 4 JSON RPC with RabbitMQ and MySQL
Metatrader 4 JSON RPC with RabbitMQ and MySQL
Published: 2014/06/28
Channel: FemtoTrader
MISTA: On The Fly Testing via JSON-RPC
MISTA: On The Fly Testing via JSON-RPC
Published: 2012/02/06
Channel: dianxiangxu
Vinipsmaker
Vinipsmaker's Qt HTTP tools + node.js app using JSON-RPC and mongodb ...
Published: 2011/06/16
Channel: Vinícius dos Santos Oliveira
🔥 Litecoin Json Rpc
🔥 Litecoin Json Rpc
Published: 2018/01/31
Channel: Лена КриптоФинанс
Watch Bitcoin Json-Rpc Tutorial 3 - Bitcoin.Conf - Bitcoin Rpc
Watch Bitcoin Json-Rpc Tutorial 3 - Bitcoin.Conf - Bitcoin Rpc
Published: 2018/02/14
Channel: Мария Кислова
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