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


Groups > comp.lang.javascript > #28849

Re: JSON parsing

Path csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail
From Stefan Weiss <krewecherl@gmail.com>
Newsgroups comp.lang.javascript
Subject Re: JSON parsing
Date Wed, 21 Oct 2015 18:21:58 +0200
Organization albasani.net
Lines 14
Message-ID <n08e37$1da$1@news.albasani.net> (permalink)
References <42bd1b82-7c07-48c5-bedd-5a8133f31fbd@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
X-Trace news.albasani.net nejozDtPCmlkEgF1Yotqw24kIif0u48SxBCIZHkGJqrX70wXqJbOniFEFmW1+okip7xDsa93Cly75K69+KXg+w==
NNTP-Posting-Date Wed, 21 Oct 2015 16:21:59 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="t6r4pDhaMDfxpn79Bdb/9pKiZ+bTXESWmprei78o3Q7dy4jTrayS5pyhoHyPa/YMl7tqeMFLI62ldDX/nlj0Z1TPH5FGbKLtuQ4Xl8N37o1rZ1IkskS5xtjMKLLKq9Mk"; mail-complaints-to="abuse@albasani.net"
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
In-Reply-To <42bd1b82-7c07-48c5-bedd-5a8133f31fbd@googlegroups.com>
Cancel-Lock sha1:UVzTyU2JQGx36OC5s76Hx4eQqpM=
Xref csiph.com comp.lang.javascript:28849

Show key headers only | 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