igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Export to JSON


From: Tamas Nepusz
Subject: Re: [igraph] Export to JSON
Date: Tue, 20 Jan 2015 20:53:04 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

> > thanks for the answer, I would need input data for d3.js,
How is this format supposed to look like?

(But anyway, your best bet is probably to create a Python object that resembles
the data structure you want to print into JSON, and then just call json.dump or
json.dumps on the object -- this is the standard way to print JSON stuff from
Python).

-- 
T.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]