So after 2 days of researching and experimenting I have finally come to the conclusion that at the moment there is no working JSON RPC client for windows phones.. Both Jayrock and AustinHarris give me countless of errors while trying to reference them in my app.
Does somebody have some insider knowledge of how to handle these kinds of requests since it is new matter to me. The company I worked for gave me some webservices to connect to through JSON RPC, starting with a simple Ping webservice :
{"transport":"POST","envelope":"JSON-RPC-2.0","contentType":"application\/json","SMDVersion":"2.0","services":{"ping":{"envelope":"JSON-RPC-2.0","transport":"POST","parameters":[{"type":"any","name":"mirror","optional":true}],"returns":["array","array","any","any"]}},"methods":{"ping":{"envelope":"JSON-RPC-2.0","transport":"POST","parameters":[{"type":"any","name":"mirror","optional":true}],"returns":["array","array","any","any"]}}}
Now while researching I did find some very handy made clients, but none of them seem to work with the windows phone assembly... http://code.google.com/p/jayrock/source/browse/src/Jayrock.Sandbox/JsonRpcClient.cs like this one.
Pay attention to the fact the client requires references made from Jayrock, but taking the source and building it myself causes a plethora of other errors; (Solution folder and www folder not supported in this version of the application(Visual Studio 2010 for Windows Phone)
Any help on how to acces this webservice through JSON RPC would be highly appreciated!
EDIT ----
Finally found a working client; NewtonSoft, still have no idea how to implement the pingservice though ... my knowledge of this matter is too limited ..