Delivery-Date: Sun, 08 Jun 2014 18:41:28 -0400
Return-Path: <tor-talk-bounces@lists.torproject.org>
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on moria.seul.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,
	DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID
	autolearn=ham version=3.3.1
X-Original-To: archiver@seul.org
Delivered-To: archiver@seul.org
Received: from eugeni.torproject.org (eugeni.torproject.org [38.229.72.13])
	(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by moria.seul.org (Postfix) with ESMTPS id DE9AC1E0B39
	for <archiver@seul.org>; Sun,  8 Jun 2014 18:41:26 -0400 (EDT)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id 3B0462F96A;
	Sun,  8 Jun 2014 22:41:25 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id 36CF12F8D1
 for <tor-talk@lists.torproject.org>; Sun,  8 Jun 2014 22:35:47 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at eugeni.torproject.org
Received: from eugeni.torproject.org ([127.0.0.1])
 by localhost (eugeni.torproject.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id kXTJSRO9rIwq for <tor-talk@lists.torproject.org>;
 Sun,  8 Jun 2014 22:35:47 +0000 (UTC)
Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com
 [IPv6:2a00:1450:400c:c00::22b])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (not verified))
 by eugeni.torproject.org (Postfix) with ESMTPS id E9E212F637
 for <tor-talk@lists.torproject.org>; Sun,  8 Jun 2014 22:35:46 +0000 (UTC)
Received: by mail-wg0-f43.google.com with SMTP id b13so290276wgh.26
 for <tor-talk@lists.torproject.org>; Sun, 08 Jun 2014 15:35:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=message-id:date:from:user-agent:mime-version:to:subject:references
 :in-reply-to:content-type:content-transfer-encoding;
 bh=XdYL2e0HTKmdq0xgPCxjOS9jsaNITmFIJZRyEqne6Sc=;
 b=u/67CJBKcU7eTbn8Ho5g225bFDpJJuTFW3KL6ck2rMi++Pyc3zmAuV/rs7dqV0CjEe
 SgXS5664bOzTid80RUkjn6VZB8CwOLJyVl2W+DcSiVpX7+X2NA0StyWybMNL04vZS+x+
 49aPhqVXSkZj96plHU4/ZIhSs1RMYBJmFA8B/9D9TGL6RmYLdnONAq4jQXz8yRC92oji
 5U5cMjO9h4wVH5ycyVmZ9cTKgGYsVI1RVGT8eNQL7zTnzTMaFb87StrRg9rrnNdnyyBR
 FSrFGIfUHiPofsBqxIwUoCYSHvUL7MWg+ztpYXNOeLk4zWwHN+8iiXvQ2ktGAyHvZXXB
 0q3g==
X-Received: by 10.194.2.244 with SMTP id 20mr26684109wjx.26.1402266943909;
 Sun, 08 Jun 2014 15:35:43 -0700 (PDT)
Received: from [192.168.1.11] (ANice-652-1-278-35.w86-203.abo.wanadoo.fr.
 [86.203.97.35])
 by mx.google.com with ESMTPSA id hs8sm11213746wib.10.2014.06.08.15.35.42
 for <tor-talk@lists.torproject.org>
 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
 Sun, 08 Jun 2014 15:35:43 -0700 (PDT)
Message-ID: <5394E53F.808@gmail.com>
Date: Mon, 09 Jun 2014 00:35:43 +0200
From: Aymeric Vitte <vitteaymeric@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.3;
 rv:24.0) Gecko/20100101 Thunderbird/24.5.0
MIME-Version: 1.0
To: tor-talk@lists.torproject.org
References: <CAD2Ti29J3q-m86=ohKpPCuowkM+oeB0U6PyW9xzVmeoFp_ZRYA@mail.gmail.com>
In-Reply-To: <CAD2Ti29J3q-m86=ohKpPCuowkM+oeB0U6PyW9xzVmeoFp_ZRYA@mail.gmail.com>
Subject: Re: [tor-talk] Onionoo docs JSON parser?
X-BeenThere: tor-talk@lists.torproject.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: tor-talk@lists.torproject.org
List-Id: "all discussion about theory, design,
 and development of Onion Routing" <tor-talk.lists.torproject.org>
List-Unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=unsubscribe>
List-Archive: <http://lists.torproject.org/pipermail/tor-talk/>
List-Post: <mailto:tor-talk@lists.torproject.org>
List-Help: <mailto:tor-talk-request@lists.torproject.org?subject=help>
List-Subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=subscribe>
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
Errors-To: tor-talk-bounces@lists.torproject.org
Sender: "tor-talk" <tor-talk-bounces@lists.torproject.org>

Maybe =

https://github.com/Ayms/node-Tor/blob/master/lib/build-relays_and_dirs.js

The output is an array with json elements, and it's testing the nodes too.

This version is a bit old, maybe you can take some inspiration or I can =

update to the latest version if there is an interest.


Le 08/06/2014 20:50, grarpamp a =E9crit :
> https://onionoo.torproject.org/
> Is anyone already using a tool to convert these
> to multiline tree/hierarchy format?
> I'd probably want the first array of objects
> vertical, with any further embedded arrays
> such as data values horizontal to save space.
> Or even further, answer the value of this key of this object.
> Like snmp.
> I see a few while searching, preferring python, if there's
> a defacto 'you want this' all JSON tool with configurable
> input/output formats, feel free to suggest.

-- =

Peersm : http://www.peersm.com
node-Tor : https://www.github.com/Ayms/node-Tor
GitHub : https://www.github.com/Ayms

-- =

tor-talk mailing list - tor-talk@lists.torproject.org
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk

