Questions tagged [json-rpc]

JSON-RPC is a standard JSON data-format based (r)emote (p)rocedure (c)all protocol.

See http://json-rpc.org/ for specification and implementations for various languages.

JSON stands for JavaScript Object Notation. It is a text-based lightweight data-interchange format. See http://www.json.org/ for details.

RPC stands for remote procedure call, which is a family of protocols. See the Wikipedia article Remote procedure call for origins, current variations and applications.

673 questions
0
votes
1 answer

Cast to NSDictionary returns nil in Swift

I'm trying to submit a JSON-RPC request in Swift and I was following this ( Perform POST request in iOS Swift ) guide. Unfortunately I'm not able to cast the "result" part of the answer to NSDictionary by doing this: if let responseDictionary =…
Azulath
  • 126
  • 1
  • 7
0
votes
1 answer

Is it possible to recover images from Kodi's pictures using a remote controller via a JSON-RPC Request?

I'm trying to recover the pictures from Kodi, as it is possible with Musics and Movies via a Json-RPC request. However, while a built-in request is available to recover Movies, Musics and TVShows, I don't find any request that could possibly recover…
Seddiki Anass
  • 306
  • 2
  • 19
0
votes
1 answer

Kurento Media Server Throwing " Unexpected error while processing method: Factory 'PlayerEndPoint'' not found"

I am Very new to Kurento. I went through its json-rpc documentation from this link. http://www.kurento.org/docs/5.0.3/mastering/kurento_protocol.html 1) I have installed a local kurento server which runs on the port 8888. 2) I used a tool called…
sathya Narrayanan
  • 499
  • 1
  • 5
  • 16
0
votes
1 answer

error while parsing an jsonarray

I am making a webservice call and the respond is in JSON. The content which i get, is a JSONArray and looks like this: {"jsonrpc":"2.0","id":"req-002","result":[ {"id":125043,"date":20110117,"startTime":800,"endTime":850, …
seriously
  • 345
  • 1
  • 3
  • 12
0
votes
0 answers

JSON-RPC Request with PHP

I'm trying to form a JSON-RPC request in the following format: { "jsonrpc": "2.0", "id": 1, "method": "call.search", "params": [ "acc", srh: { "user" } ] } But I'm having…
xVGERx
  • 41
  • 6
0
votes
2 answers

Drawing chart with Chart.js filled with data gotten per JsonRPC

I want to get the result from a JsonRPC call to a PHP server per JavaScript for further usage (drawing chart with Chart.js). For this I have a function which should do the call and return the result. I use this jQuery plugin:…
su-ex
  • 106
  • 7
0
votes
1 answer

JSON RPC with Kodi (XBMC) to restart first item in playlist

I am using libjson (https://github.com/cinemast/libjson-rpc-cpp) and the api of kodi (previously called XBMC to play/pause and stop my Kodi machine. However, after I stopped it, I cannot restart it with play/pause again. The method I use: make a…
tomzooi
  • 90
  • 2
  • 8
0
votes
1 answer

Map resources depending on the request's parameters

My application is using the protocol JSON-RPC to communicate with the backend. What I basically want to to do is to fetch objects and store them directly in Core Data. I have multiple types of entities. Let's take for example Events and Podcasts. I…
Titouan de Bailleul
  • 12,920
  • 11
  • 66
  • 121
0
votes
1 answer

Debug vs Release mode on IIS 7.5

I have an ASP.NET application that uses Austin Harris JSON RPC library to expose an RPC server. The service works great when I use it in : 1) Debug build running on ASP.NET web server 2) Debug build running on IIS 3) Release build running on…
Rishi
  • 321
  • 2
  • 6
  • 17
0
votes
1 answer

Passing reference to XBMC json-rpc to identify answer later

I am using XBMC json-rpc with websockets. When I send json request like "method":"Playlist.OnClear" I get response {"id":1,"jsonrpc":"2.0","result":"OK"}. So if I'll send multiple requests I will get multiple responses and I won't be able to…
untitled
  • 1,037
  • 2
  • 12
  • 27
0
votes
1 answer

Retrieve values from multiple itemids in zabbix api 2.0

I want to get all latest data received from the host by host id. By the specs i try this one $itemids=array("36361","36362","36363","36364","36365"); $groups = $api->historyGet(array( "output"=> "extend", "history"=> 0, "hostids"=>…
kiwilab
  • 1
  • 1
0
votes
1 answer

Connect to json-rpc interface

I'm trying to connect to the transmission rpc interface via C#/Java to get some informations back. https://trac.transmissionbt.com/browser/trunk/extras/rpc-spec.txt Unfortunatly I have problems to get the correct HTTP-Post to access the…
Olias
  • 17
  • 6
0
votes
2 answers

Wait for Node constructor to connect to api before issuing commands

Sorry if the question title is a tad ambiguous, but I'm not entirely sure how to word it. I'm writing an NPM module that talks to a json-rpc api - this is the current setup. // The module function MyModule(config) { // do some connection stuff…
Luke Berry
  • 1,927
  • 4
  • 19
  • 32
0
votes
0 answers

Connecting to API that requires a TCP/IP connection and JSON-RPC

I'm trying to connect to a 3rd party server that requires a TCP/IP socket connection and uses JSON-RPC to communicate. I need to use ColdFusion 9 and am wondering if the built in event gateways in CF are the way forward? All the examples I have…
Shaun Perry
  • 159
  • 1
  • 2
  • 12
0
votes
1 answer

python Importerror using jsonrpc2

I am trying jsonrpc2 using python. I created a file hello.py def greeting(name): return dict(message="Hello, %s!" % name) Then I run runjsonrpc2 hello but i got ImportError: No module named hello