How to use Array.String in Json-rpc
#1
Hi Guys,

I want to know how to use this:

 { "id": "Array.String",
"type": "array",
"items": { "minLength": 1,
"type": "string" } }

I want to send string through json-rpc and I think that will help me.  Huh
Reply
#2
That describes the json payload you need to associate with your web query.
Those are basically the 'validation rules' you must use to create the json payload.
Reply
#3
@axa88

Is there any example how to use it because I am fresh in json-rpc with xbmc!

Thank you very much
Reply
#4
@axa88 

for example if I have this payload data of json-rpc where can I add an integer to send it with it?

data =  '{"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"addonid":"script.openprogram"},"id":1}'

Thank you very much for your help :-)
Reply

Logout Mark Read Team Forum Stats Members Help
How to use Array.String in Json-rpc0