[Logo] Mango Community
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
json data?  XML
Forum Index » User help
Author Message
hairyballs

Initiate

Joined: 30/07/2011 06:44:19
Messages: 2
Offline

Hi,

I searched around in the forums - I couldn't find anything. Is there any easy way, to get datapoints out of JSON formatted data?

I have this data ---



I'm interested in S0->dio9, "1".

I've got a regex express to grab dio9, but what if I have more than 1 s0?

Anyone have any experience getting json data?

sean

mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1847
Offline

Have you looked at import/export?

Best regards,
Matthew Lohbihler
hairyballs

Initiate

Joined: 30/07/2011 06:44:19
Messages: 2
Offline

The data is on a webserver - I can sort of grab it via regex on a http retriever -

mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1847
Offline

Ah, when you said "datapoints" i thought you meant the creation of a point based upon external data. If you're just grabbing readings, http retriever should do it, yeah.

Best regards,
Matthew Lohbihler
craig

Initiate

Joined: 06/08/2007 16:50:46
Messages: 163
Offline

I want to pull data off an inverter, which replies to http GETS in JSON

Here is the manual for the device http://files.sma.de/dl/2585/SWebBoxRPC-BEN092713.pdf

I can see this could kind of work using the regex, but is there an easier way?

mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1847
Offline

Regex is the only way at the moment. Of course, a data source could be built probably easily.

Best regards,
Matthew Lohbihler
 
Forum Index » User help
Go to:   
Powered by JForum 2.1.9 © JForum Team