Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #28849

Re: JSON parsing

From Stefan Weiss <krewecherl@gmail.com>
Newsgroups comp.lang.javascript
Subject Re: JSON parsing
Date 2015-10-21 18:21 +0200
Organization albasani.net
Message-ID <n08e37$1da$1@news.albasani.net> (permalink)
References <42bd1b82-7c07-48c5-bedd-5a8133f31fbd@googlegroups.com>

Show all headers | View raw


On 2015-10-21 11:52, mikael.taieb@gmail.com wrote:
> I'm using an android application (Tasker) to get an HTTPGet to retrieve this,
> and now  i'm trying to use the data through Tasker's JavaScriptlet.
> 
> I've been able to get the JSON data without any problem for stuff like Wind-Speed with a
> 
> var metar =
> JSON.parse(global("HTTPD"));

At this point, JSON parsing is done. Everything else depends on what you
want to achieve and how Tasker handles its "variables". You'll probably
have better luck asking on the Tasker forum.

- stefan

Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

JSON parsing mikael.taieb@gmail.com - 2015-10-21 02:52 -0700
  Re: JSON parsing Stefan Weiss <krewecherl@gmail.com> - 2015-10-21 18:21 +0200

csiph-web