Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 21 made on Sunday September 6, 2020 at 14:57
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,634
Fischi,

From this post, I see you already have json2 loaded as a library.

[Link: remotecentral.com]

Are you having some sort of specific error or were asking how to reference the value in the parsed object?

Here's how you would get the value you were asking for.

var obj = JSON.parse(responseText);
var myValue = obj.Devices[0].value;

Thanks,
Lyndel
Lyndel McGee
Philips Pronto Addict/Beta Tester


Hosting Services by ipHouse