2013-04-18, 21:14
(2013-04-18, 21:12)Wanilton Wrote: With This request I receive one error in latest gotham master code:
Code:{jsonrpc": "2.0", "method": "VideoLibrary.GetMovieSetDetails", "params": {"setid": %s, "properties": [ "thumbnail" ], "movies": { "properties": [ "rating", "art", "file", "year", "director", "writer","genre" , "thumbnail", "runtime", "studio", "plotoutline", "plot", "country"], "sort": { "order": "ascending", "method": "year" }} },"id": 1}
I receive error
{"error":{"code":-32700,"message":"Parse error."},"id":null,"jsonrpc":"2.0"}
Any tip how I solve this.
Yes put a " before "jsonrpc" at the very beginning. When you get a "Parse error" there's something wrong with the JSON object, not with JSON-RPC. You can use http://jsonlint.com for JSON object validation.