Delivery-Date: Thu, 12 Jun 2014 17:11:33 -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.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED,
	RP_MATCHES_RCVD 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 E323D1E0C85
	for <archiver@seul.org>; Thu, 12 Jun 2014 17:11:31 -0400 (EDT)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id D5C9A2FBD4;
	Thu, 12 Jun 2014 21:11:30 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id 3002D2FBCA
 for <tor-talk@lists.torproject.org>; Thu, 12 Jun 2014 21:03:11 +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 L5Z9pp_iaKTB for <tor-talk@lists.torproject.org>;
 Thu, 12 Jun 2014 21:03:11 +0000 (UTC)
Received: from atlantis.meejah.ca (unknown [216.51.232.213])
 (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by eugeni.torproject.org (Postfix) with ESMTPS id 1A3AE2FBB8
 for <tor-talk@lists.torproject.org>; Thu, 12 Jun 2014 21:03:11 +0000 (UTC)
Received: from meejah by atlantis.meejah.ca with local (Exim 4.72)
 (envelope-from <meejah@meejah.ca>) id 1WvC8L-0002Bo-GN
 for tor-talk@lists.torproject.org; Fri, 13 Jun 2014 01:02:05 +0400
From: meejah <meejah@meejah.ca>
To: tor-talk@lists.torproject.org
References: <CAD2Ti29J3q-m86=ohKpPCuowkM+oeB0U6PyW9xzVmeoFp_ZRYA@mail.gmail.com>
 <5394E53F.808@gmail.com>
 <CAD2Ti2-_PaohquD4Bp8YYbga07SmdFO=Wz6z6oRq+DsoozNMRw@mail.gmail.com>
Date: Fri, 13 Jun 2014 01:02:05 +0400
In-Reply-To: <CAD2Ti2-_PaohquD4Bp8YYbga07SmdFO=Wz6z6oRq+DsoozNMRw@mail.gmail.com>
 (grarpamp@gmail.com's message of "Thu, 12 Jun 2014 16:35:10 -0400")
Message-ID: <86oaxxzvsi.fsf@atlantis.meejah.ca>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)
MIME-Version: 1.0
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-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: tor-talk-bounces@lists.torproject.org
Sender: "tor-talk" <tor-talk-bounces@lists.torproject.org>

grarpamp <grarpamp@gmail.com> writes:

> For now I 'm probably looking for something in python or perl
> for use against generic json format files on disk, it comes
> up often. I should search github more.

Are you looking for somethin beyond this:

   import json
   print json.load(open('file.json', 'r'))

The "json" module is built-in for python2.7 and python3

-- 
meejah

-- 
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

