[Tutor] Structured files?

Alan Gauld alan.gauld at btinternet.com
Thu Jun 2 18:13:32 CEST 2011


"Alexandre Conrad" <alexandre.conrad at gmail.com> wrote

> you want to share that data between non-Python application, I could
> also suggest the use of the JSON module. JSON is a standard format
> (see json.org) supported by many programming languages. 

But isn't it a string based format?
I thought JSON converted everything into XML strings?

That makes it hugely wasteful of space which is usually 
the reason for using a binary format in the first place.

But I've only used JSON once from within TurboGears so 
I am no expert!

-- 
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/




More information about the Tutor mailing list