From: Noel O'B. <bao...@gm...> - 2007-11-19 15:29:42
|
Good point. The user just needs to call listify() beforehand. In that case, listify() should probably return a dictionary, rather than altering the ccData object itself. The dictionary can be written with whatever JSON library the user wants to use... Great! I think we have a winner :-) Noel On 19/11/2007, Karol Langner <kar...@kn...> wrote: > I have no definite opinion. If there is no actual JSON support in cclib > (bundled or imported), then there's no point in having a 'writejson' method > is there? Just an ambigious 'write' method, since you can pass a function > that does _anything_. > > Karol > > -- > written by Karol Langner > Mon Nov 19 16:22:20 CET 2007 > |