JSON javascript simple working example

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
joshuaand Offline
Junior Member
Posts: 7
Joined: Jul 2011
Reputation: 0
Post: #1
Hi All,

Look I don't want to get flamed, but I am struggling to find a working json javascript example, something simple like power up, whatever it doesn't matter, just to get me started.

I cant seem to find any javascript libraries either that has working code attached?

If anyone can help I would appreciate it.
find quote
mikehunt Offline
Junior Member
Posts: 14
Joined: Jan 2011
Reputation: 0
Post: #2
Have you looked at this page : http://wiki.xbmc.org/index.php?title=JSON-RPC_API/v4

It describes what to send using json, then you can use something like JQuery ajax calls described here http://api.jquery.com/jQuery.post/ to send the data over.

Thanks,
Eric.

Data server:
Dell precision 670, Dual Xeon, 4 GB of ram
Running Amahi with greyhole with a total of 6 TB of HD in an 8-bay hard drive tower
XBMC:
Windows 2008 R2 server, 16 GB of ram, AMD Phenom X6 @ 2.80 ghz, Using onboard video card with HDMI out
find quote